Commit a9db7534 authored by Fabien Manière's avatar Fabien Manière

logout action is ok!

parent b8529d4d
...@@ -30,7 +30,7 @@ module Gargantext.Components.Nodes.Home ...@@ -30,7 +30,7 @@ module Gargantext.Components.Nodes.Home
import Gargantext.Prelude import Gargantext.Prelude
import Data.Foldable (intercalate, for_) import Data.Foldable (intercalate)
import Data.Maybe (Maybe(..)) import Data.Maybe (Maybe(..))
import Data.Newtype (class Newtype) import Data.Newtype (class Newtype)
import Effect (Effect) import Effect (Effect)
...@@ -254,10 +254,6 @@ tutorialCpt = here.component "tutorial" cpt where ...@@ -254,10 +254,6 @@ tutorialCpt = here.component "tutorial" cpt where
-} -}
onSignOutClick session = void $ Sessions.change (Logout session) boxes.sessions onSignOutClick session = void $ Sessions.change (Logout session) boxes.sessions
-- onSignOutClick _ = do
-- log "Logging sessions:"
-- log show session
-- for_ sessions $ \element -> log (show element)
makeFolders :: Array Session -> Array R.Element makeFolders :: Array Session -> Array R.Element
......
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