diff options
author | Joris | 2019-10-20 22:08:31 +0200 |
---|---|---|
committer | Joris | 2019-10-20 22:08:31 +0200 |
commit | 33e78f2ebbf5bf7b40e7aa732cc7c019f6df3f12 (patch) | |
tree | bc325950963bcb5c27e1aaba2a4ee7e092efbcd4 /client/src/Component | |
parent | 602c52acfcfa494b07fec05c20b317b60ea8a6f3 (diff) |
Simplify page initialization
Diffstat (limited to 'client/src/Component')
-rw-r--r-- | client/src/Component/Button.hs | 2 | ||||
-rw-r--r-- | client/src/Component/Input.hs | 2 | ||||
-rw-r--r-- | client/src/Component/Pages.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/Component/Button.hs b/client/src/Component/Button.hs index 46c0afa..b1175d7 100644 --- a/client/src/Component/Button.hs +++ b/client/src/Component/Button.hs @@ -12,7 +12,7 @@ import qualified Data.Text as T import Reflex.Dom (Dynamic, Event, MonadWidget) import qualified Reflex.Dom as R -import qualified Icon +import qualified View.Icon as Icon data ButtonIn t m = ButtonIn { _buttonIn_class :: Dynamic t Text diff --git a/client/src/Component/Input.hs b/client/src/Component/Input.hs index 0c84754..9ab4d58 100644 --- a/client/src/Component/Input.hs +++ b/client/src/Component/Input.hs @@ -19,7 +19,7 @@ import qualified Reflex.Dom as R import qualified Common.Util.Validation as ValidationUtil import Component.Button (ButtonIn (..), ButtonOut (..)) import qualified Component.Button as Button -import qualified Icon +import qualified View.Icon as Icon data InputIn a = InputIn { _inputIn_hasResetButton :: Bool diff --git a/client/src/Component/Pages.hs b/client/src/Component/Pages.hs index 5611cb7..7843ef6 100644 --- a/client/src/Component/Pages.hs +++ b/client/src/Component/Pages.hs @@ -11,8 +11,8 @@ import qualified Reflex.Dom as R import Component.Button (ButtonIn (..), ButtonOut (..)) import qualified Component.Button as Button -import qualified Icon import qualified Util.Reflex as ReflexUtil +import qualified View.Icon as Icon data PagesIn t = PagesIn { _pagesIn_total :: Dynamic t Int |