mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-12-12 04:14:19 +03:00
Fix typo
This commit is contained in:
parent
353552d9f1
commit
2d38377f1f
@ -245,7 +245,7 @@ This should look pretty similar to how our homepage handled the `Increment` and
|
||||
|
||||
### Listening for data from JS
|
||||
|
||||
We're going to add one final function to `Storage.elm` that will allow us to subscribe to events from the `load` port, that use's our `fromJson` function to safely parse the message we get back:
|
||||
We're going to add one final function to `Storage.elm` that will allow us to subscribe to events from the `load` port, that uses our `fromJson` function to safely parse the message we get back:
|
||||
|
||||
```elm
|
||||
onChange : (Storage -> msg) -> Sub msg
|
||||
|
Loading…
Reference in New Issue
Block a user