Skip to content

Commit

Permalink
Fix invalid example code
Browse files Browse the repository at this point in the history
  • Loading branch information
conatus authored Jan 5, 2022
1 parent 946bcd4 commit e7c9c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/vanilla/template-parts/site-nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
$navigation = new \Log1x\Navi\Navi()->build('primary-menu');
?>

<?php if ( $navigation->isNotEmpty() ) ) : ?>
<?php if ( $navigation->isNotEmpty() ) : ?>
<nav id="site-navigation" class="main-navigation">
<ul id="primary-menu">
<?php foreach ( $navigation->toArray() as $item ) : ?>
Expand Down

0 comments on commit e7c9c1c

Please sign in to comment.