Skip to content

Commit 170e9a1

Browse files
authored
chore(cabal): bump miso source pin (#1366)
2 parents 8a63a08 + 779a621 commit 170e9a1

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

cabal.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ if arch(wasm32)
5353
source-repository-package
5454
type: git
5555
location: https://github.com/dmjio/miso
56-
tag: ba94173bd8ff22110e65beb51c66cdf1172ce677
57-
--sha256: 0nqdmxddmcd5c74mbw7yxsg8849rfmvaqq8afmw6ap8qfzr7dax2
56+
tag: 879bae2cb873a80672997d8b0daedfbaa42258d2
57+
--sha256: 11i42b8qjjxfvd0hz8xvsxbw9k4rkyaia9ckl8y1jv2af6ajh192
5858

5959
-- Wasm workarounds.
6060
--

primer-miso/src/Primer/Miso.hs

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import Miso (
3434
Component,
3535
bindings,
3636
events,
37+
hydrateModel,
3738
initialAction,
3839
logLevel,
3940
mailbox,
@@ -49,27 +50,31 @@ import Miso (
4950
LogLevel (Off),
5051
ROOT,
5152
View,
52-
button_,
53-
class_,
5453
consoleLog,
5554
defaultEvents,
55+
io,
56+
io_,
57+
text,
58+
)
59+
import Miso.CSS (style_)
60+
import Miso.Html (
61+
button_,
5662
div_,
5763
form,
58-
id_,
5964
img_,
6065
input_,
61-
io,
62-
io_,
6366
onChange,
6467
onChecked,
6568
onClick,
69+
)
70+
import Miso.Html.Property (
71+
class_,
72+
id_,
6673
required_,
6774
src_,
68-
text,
6975
type_,
7076
)
7177
import Miso.String (MisoString, fromMisoString, ms)
72-
import Miso.Style (style_)
7378
import Numeric.Natural (Natural)
7479
import Optics (lensVL, to, use, (%), (.~), (^.), (^..))
7580
import Optics.State.Operators ((%=), (.=), (?=))
@@ -237,6 +242,7 @@ start =
237242
, logLevel = Off
238243
, mailbox = const Nothing
239244
, bindings = []
245+
, hydrateModel = Nothing
240246
}
241247

242248
data Model = Model

primer-miso/src/Primer/Miso/Util.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ import Miso (
7575
setLocalStorage,
7676
startComponent,
7777
)
78+
import Miso.CSS (Style)
7879
import Miso.String (MisoString, fromMisoString, ms)
79-
import Miso.Style (Style)
8080
import Optics (
8181
AffineTraversal',
8282
Field1 (_1),

0 commit comments

Comments
 (0)