Commit 20864e01 authored by Mael NICOLAS's avatar Mael NICOLAS

killed the shrug

parent 79100b8c
...@@ -18,7 +18,7 @@ render dispatch _ state _ = ...@@ -18,7 +18,7 @@ render dispatch _ state _ =
div [className "col-md-12"] div [className "col-md-12"]
$ case state.user of $ case state.user of
(Just (User user)) -> display user.name [userInfos user.hyperdata] (Just (User user)) -> display user.name [userInfos user.hyperdata]
Nothing -> display "User not found" [h1 [] [text "¯\\_(ツ)_/¯"]] Nothing -> display "User not found" []
] ]
display :: forall props. String -> Array ReactElement -> Array ReactElement display :: forall props. String -> Array ReactElement -> Array ReactElement
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment