diff --git a/src/Nri/Ui/Tabs/V4.elm b/src/Nri/Ui/Tabs/V4.elm index 0b99ce8b..5496e445 100644 --- a/src/Nri/Ui/Tabs/V4.elm +++ b/src/Nri/Ui/Tabs/V4.elm @@ -249,7 +249,7 @@ links config = [ Role.tabList ] (config.tabs - |> mapWithCurrent (viewTabLink config) + |> mapWithCurrent viewTabLink |> List.Zipper.toList ) ] @@ -257,8 +257,8 @@ links config = ] -viewTabLink : LinkConfig msg -> Bool -> LinkTabConfig msg -> Html msg -viewTabLink config isSelected tabConfig = +viewTabLink : Bool -> LinkTabConfig msg -> Html msg +viewTabLink isSelected tabConfig = let ( tabLabel, tabHref, preventDefault ) = case tabConfig of