diff options
author | Joris | 2017-11-12 22:58:23 +0100 |
---|---|---|
committer | Joris | 2017-11-12 22:58:23 +0100 |
commit | 213cf7ede058b781fc957de2cd9f6a5988c08004 (patch) | |
tree | edaa0aded649f6c63883637ee46bbb20b1851ddb /client/src/View/Payment.hs | |
parent | 30f786e277b4ece6a09311de364082691f261ca3 (diff) |
Add mocked pages
Diffstat (limited to 'client/src/View/Payment.hs')
-rw-r--r-- | client/src/View/Payment.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/View/Payment.hs b/client/src/View/Payment.hs index e80790b..d1430c9 100644 --- a/client/src/View/Payment.hs +++ b/client/src/View/Payment.hs @@ -11,8 +11,10 @@ module View.Payment import Reflex.Dom (MonadWidget) import qualified Reflex.Dom as R -import Common.Model (Init) +import Common.Model (Init(..)) +import View.Payment.Pages (PagesIn(..)) +import qualified View.Payment.Pages as Pages import View.Payment.Table (TableIn(..)) import qualified View.Payment.Table as Table @@ -30,4 +32,7 @@ widget paymentIn = do _ <- Table.widget $ TableIn { _tableIn_init = _paymentIn_init paymentIn } + _ <- Pages.widget $ PagesIn + { _pagesIn_payments = _init_payments . _paymentIn_init $ paymentIn + } return $ PaymentOut {} |