Temporarily remove SPA mode due to Livewire issues with navigate feature

This commit is contained in:
brufdev
2025-04-15 21:09:52 +01:00
parent c34b715d08
commit e05f4aeb58
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ final class Register extends Component
{
$this->form->register();
$this->redirect(route('vaults.index', absolute: false), navigate: true);
$this->redirect(route('vaults.index', absolute: false));
}
public function render(): Factory|View
+1 -1
View File
@@ -28,7 +28,7 @@ final class ResetPassword extends Component
return;
}
$this->redirect(route('login', absolute: false), navigate: true);
$this->redirect(route('login', absolute: false));
}
public function render(): Factory|View
+1 -1
View File
@@ -55,7 +55,7 @@ final class UserMenu extends Component
Session::invalidate();
Session::regenerateToken();
$this->redirect(route('login', absolute: false), navigate: true);
$this->redirect(route('login', absolute: false));
}
public function render(): Factory|View
@@ -18,7 +18,7 @@
<div class="text-center">
<x-form.text>
<x-form.link wire:navigate href="{{ route('login') }}">
<x-form.link href="{{ route('login') }}">
{{ __('Back to Sign in') }}
</x-form.link>
</x-form.text>
@@ -35,7 +35,7 @@
<div class="flex flex-col gap-2 text-center">
@if (Route::has('forgot.password'))
<x-form.text>
<x-form.link wire:navigate href="{{ route('forgot.password') }}">
<x-form.link href="{{ route('forgot.password') }}">
{{ __('Forgot your password?') }}
</x-form.link>
</x-form.text>
@@ -45,7 +45,7 @@
<x-form.text>
{{ __('Don\'t have an account?') }}
<x-form.link wire:navigate href="{{ route('register') }}">
<x-form.link href="{{ route('register') }}">
{{ __('Sign up') }}
</x-form.link>
</x-form.text>
@@ -17,7 +17,7 @@
<x-form.text>
{{ __('Already registered?') }}
<x-form.link wire:navigate href="{{ route('login') }}">
<x-form.link href="{{ route('login') }}">
{{ __('Sign in') }}
</x-form.link>
</x-form.text>
@@ -13,7 +13,7 @@
<div class="text-center">
<x-form.text>
<x-form.link wire:navigate href="{{ route('login') }}">
<x-form.link href="{{ route('login') }}">
{{ __('Back to Sign in') }}
</x-form.link>
</x-form.text>
@@ -61,7 +61,7 @@
</x-modal>
<x-menu.close>
<x-menu.itemLink href="/vaults" wire:navigate>
<x-menu.itemLink href="{{ route('vaults.index') }}">
<x-icons.circleStack class="w-4 h-4" />
{{ __('Vaults') }}
</x-menu.itemLink>