fix: disable wire navigate for social login

This commit is contained in:
hackerESQ
2025-09-26 20:36:29 -05:00
parent 013ccba050
commit b896513be9
2 changed files with 2 additions and 3 deletions
@@ -5,7 +5,7 @@
link="{{ route('oauth.redirect', ['provider' => $provider]) }}"
class="btn-sm btn-block my-1 text-white"
style='background-color: {{ config("services.$provider.color") }}'
no-wire-navigate
external
>
@include("components.social.$provider-icon")
@@ -6,7 +6,6 @@
'link' => null,
'route' => null,
'external' => false,
'noWireNavigate' => false,
'badge' => null,
'badgeClasses' => null,
'badge' => false,
@@ -40,7 +39,7 @@
target="_blank"
@endif
@if(!$external && !$noWireNavigate)
@if(!$external)
{{ $attributes->wire('navigate')->value() ? $attributes->wire('navigate') : 'wire:navigate' }}
@endif
@endif