Skip to content

Commit

Permalink
fix: fixed google captcha issue
Browse files Browse the repository at this point in the history
  • Loading branch information
devansh-webkul committed Jan 24, 2025
1 parent 3664dee commit be6bf8e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
<script src="{{ $clientEndPoint }}" async defer></script>
<script>
window.onload = function() {
let script = document.createElement('script');
script.src = '{{ $clientEndPoint }}';
document.body.appendChild(script);
};
</script>
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ class="primary-button m-0 mx-auto block w-full max-w-[374px] rounded-2xl px-11 p
</div>

@push('scripts')

{!! Captcha::renderJS() !!}

@endpush
</x-shop::layouts>

0 comments on commit be6bf8e

Please sign in to comment.