fix(navigation): replace wire:navigate.hover with wire:navigate
Remove hover prefetching variant from SPA navigation helper, both in the happy path and the exception fallback.
This commit is contained in:
parent
4e561264b4
commit
19767a569b
1 changed files with 3 additions and 3 deletions
|
|
@ -3532,10 +3532,10 @@ function wireNavigate(): string
|
||||||
try {
|
try {
|
||||||
$settings = instanceSettings();
|
$settings = instanceSettings();
|
||||||
|
|
||||||
// Return wire:navigate.hover for SPA navigation with prefetching, or empty string if disabled
|
// Return wire:navigate for SPA navigation with prefetching, or empty string if disabled
|
||||||
return ($settings->is_wire_navigate_enabled ?? true) ? 'wire:navigate.hover' : '';
|
return ($settings->is_wire_navigate_enabled ?? true) ? 'wire:navigate' : '';
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
return 'wire:navigate.hover';
|
return 'wire:navigate';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue