Skip to content

Commit 894a865

Browse files
committed
Include navigation link as Blade component instead of include
Looks more consistent with the dropdown include just above, and we can use attributes
1 parent 2145e5b commit 894a865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/framework/resources/views/layouts/navigation.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
@if($item instanceof \Hyde\Framework\Features\Navigation\NavGroupItem)
3939
<x-hyde::navigation.dropdown :label="$item->getLabel()" :items="$item->getItems()"/>
4040
@else
41-
@include('hyde::components.navigation.navigation-link')
41+
<x-hyde::navigation.link :item="$item"/>
4242
@endif
4343
</li>
4444
@endforeach

0 commit comments

Comments
 (0)