Skip to content

Instantly share code, notes, and snippets.

@amitaibu
Created June 26, 2019 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitaibu/874f6bb9cdc306f3a41e12288be8e7ff to your computer and use it in GitHub Desktop.
Save amitaibu/874f6bb9cdc306f3a41e12288be8e7ff to your computer and use it in GitHub Desktop.
main =
   Browser.element
       { init = App.Update.init
-       , update = App.Update.update
+       , update = Update.Fetch.andThenFetch App.Fetch.fetch App.Update.update
       , view = App.View.view
       , subscriptions = App.Update.subscriptions
       }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment