Update advanced/part6
This commit is contained in:
@@ -10,4 +10,4 @@ Then open [http://localhost:3000](http://localhost:3000) in your browser.
|
||||
|
||||
## Exercise
|
||||
|
||||
Open `src/Article.elm` in your editor and resolve the TODOs there.
|
||||
Open `src/Page/Home.elm` in your editor and resolve the TODOs there.
|
||||
|
||||
@@ -197,8 +197,8 @@ viewTabs isLoggedIn activeTab =
|
||||
[]
|
||||
|
||||
|
||||
viewTab : Bool -> String -> msg -> Html msg
|
||||
viewTab isActive tabName msg =
|
||||
viewTab : Bool -> ( String, msg ) -> Html msg
|
||||
viewTab isActive ( tabName, msg ) =
|
||||
li [ class "nav-item" ]
|
||||
[ a
|
||||
[ classList [ ( "nav-link", True ), ( "active", isActive ) ]
|
||||
|
||||
Reference in New Issue
Block a user