Remove NoOp in user API

parent 4f340fe0
......@@ -18,8 +18,6 @@ getUser id = get $ "http://localhost:8008/node/" <> show id
performAction :: PerformAction State {} Action
performAction NoOp _ _ = void do
modifyState identity
performAction (FetchUser userId) _ _ = void do
value <- lift $ getUser userId
_ <- case value of
......
......@@ -6,8 +6,7 @@ import Gargantext.Pages.Corpus.User.Users.Specs.Documents as P
import Gargantext.Components.Tab as Tab
data Action
= NoOp
| TabA Tab.Action
= TabA Tab.Action
| FetchUser Int
type State =
......
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