fix: remove unnecessary wire:navigate directive from navbar item

This commit is contained in:
Yoga Pangestu 2026-01-09 19:59:27 +07:00
parent 2e436f99cc
commit c0fe92f0d2

View File

@ -5,7 +5,7 @@
class="max-lg:hidden! hidden dark:flex" />
<flux:spacer />
<flux:navbar class="me-4">
<flux:navbar.item icon="computer-desktop" label="Beranda" href="{{ route('homepage') }}" wire:navigate />
<flux:navbar.item icon="computer-desktop" label="Beranda" href="{{ route('homepage') }}" />
<flux:navbar.item x-data x-on:click="$flux.dark = ! $flux.dark">
<template x-if="$flux.dark">
<div class="flex items-center gap-2">