Skip to content

Commit

Permalink
remove old TODO i already addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Mar 14, 2024
1 parent cd0526f commit af8a186
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Classes/RenderNavItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public static function render(array $item, string $class = ''): string
$itemType = str($itemType)->replace('_', '-')->toString();
}
$renderersMap = SkyPlugin::get()->getNavRenderers();
// TODO: make match current behavior with underscore or hyphen
if (array_key_exists($itemType, $renderersMap)) {
$rendererClass = $renderersMap[$itemType];
$renderer = new $rendererClass($item);
Expand Down

0 comments on commit af8a186

Please sign in to comment.