diff options
author | 2025-02-20 12:29:35 +0100 | |
---|---|---|
committer | 2025-02-20 18:36:23 +0100 | |
commit | caf72faccc04e647c27e1b5eef85c515949d8210 (patch) | |
tree | ec32dda7b87c12712307d2d101368fed5888d4b9 /frontend | |
parent | 3c64b52017e7c16da0d017c033c77eee5d7a4340 (diff) |
consolidate `backend, cli, common` -> `acms`
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/app/Form/Input.hs | 2 | ||||
-rw-r--r-- | frontend/app/Page/EditValue.hs | 2 | ||||
-rw-r--r-- | frontend/frontend.cabal | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/frontend/app/Form/Input.hs b/frontend/app/Form/Input.hs index 0b4f1ca..040b961 100644 --- a/frontend/app/Form/Input.hs +++ b/frontend/app/Form/Input.hs @@ -160,7 +160,7 @@ inputText label = value_ i, onInput id ], - div_ [ class_ "error-helper" ] $ + div_ [class_ "error-helper"] $ [either text (\_ -> text "") (parse i)] ] ] diff --git a/frontend/app/Page/EditValue.hs b/frontend/app/Page/EditValue.hs index 942d9db..8a7ca15 100644 --- a/frontend/app/Page/EditValue.hs +++ b/frontend/app/Page/EditValue.hs @@ -8,6 +8,7 @@ module Page.EditValue where import ACMS.API.REST.Collection qualified as API.REST.Collection +import Collection import Control.Monad.Catch (SomeException, try) import Data.Aeson qualified as A import Data.Aeson.KeyMap qualified as AM @@ -17,7 +18,6 @@ import Form qualified as F import Miso import Miso.String (toMisoString) import Schema -import Collection data Model = Model { collectionItem :: CollectionItem, diff --git a/frontend/frontend.cabal b/frontend/frontend.cabal index c4affab..fb0ad6a 100644 --- a/frontend/frontend.cabal +++ b/frontend/frontend.cabal @@ -34,12 +34,11 @@ executable frontend -fno-warn-orphans build-depends: + acms, aeson, attoparsec, - backend, base, bytestring, - common, containers, data-default, exceptions, |