Migration page: remove useless code.
parent
3af5c03199
commit
3852f4ef96
|
@ -19,12 +19,12 @@
|
||||||
-- | ```
|
-- | ```
|
||||||
module App.Page.Migration where
|
module App.Page.Migration where
|
||||||
|
|
||||||
import Prelude (Unit, between, bind, discard, map, pure, ($), (<>))
|
import Prelude (Unit, between, bind, discard, map, ($), (<>))
|
||||||
|
|
||||||
import Data.Array as A
|
import Data.Array as A
|
||||||
import Data.ArrayBuffer.Types (ArrayBuffer)
|
import Data.ArrayBuffer.Types (ArrayBuffer)
|
||||||
import Data.Either (Either(..))
|
import Data.Either (Either(..))
|
||||||
import Data.Maybe (Maybe(..))
|
-- import Data.Maybe (Maybe(..))
|
||||||
import Data.String as S
|
import Data.String as S
|
||||||
import Effect.Aff.Class (class MonadAff)
|
import Effect.Aff.Class (class MonadAff)
|
||||||
import Halogen as H
|
import Halogen as H
|
||||||
|
@ -102,14 +102,14 @@ component =
|
||||||
, render
|
, render
|
||||||
, eval: H.mkEval $ H.defaultEval
|
, eval: H.mkEval $ H.defaultEval
|
||||||
{ handleAction = handleAction
|
{ handleAction = handleAction
|
||||||
, handleQuery = handleQuery
|
--, handleQuery = handleQuery
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
handleQuery :: forall a m. MonadAff m => Query a -> H.HalogenM State Action () Output m (Maybe a)
|
-- TODO: this will be useful in case there is a tab mechanism on this page.
|
||||||
handleQuery = case _ of
|
--handleQuery :: forall a m. MonadAff m => Query a -> H.HalogenM State Action () Output m (Maybe a)
|
||||||
-- TODO
|
--handleQuery = case _ of
|
||||||
WaitingForToken a -> pure (Just a)
|
-- WaitingForToken a -> pure (Just a)
|
||||||
|
|
||||||
render :: forall m. State -> H.ComponentHTML Action () m
|
render :: forall m. State -> H.ComponentHTML Action () m
|
||||||
render state
|
render state
|
||||||
|
|
Loading…
Reference in New Issue