Skip to content

Commit

Permalink
Update RenderNavItem.php
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Aug 10, 2023
1 parent 1ddda41 commit a68fc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Classes/RenderNavItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static function render($item, $class = '')
} else {
return '<a class="' . $class . '"
target="' . ($item['data']['target'] ?? '_self') . '"
href="' . $item['data']['url'] . '"
href="' . optional($item['data'])['url'] . '"
>' .
$item['label'] .
'</a>';
Expand Down

0 comments on commit a68fc85

Please sign in to comment.