Skip to content

Instantly share code, notes, and snippets.

@njj

njj/mut.cljs Secret

Created April 22, 2019 18:04
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 njj/e1b46ef4c0cb459ec719a1f2c39f60b7 to your computer and use it in GitHub Desktop.
Save njj/e1b46ef4c0cb459ec719a1f2c39f60b7 to your computer and use it in GitHub Desktop.
(fn [e]
(m/set-string! component field :event e)
(prim/transact! component `[(fs/mark-complete! {:field ~field
:entity-ident ~entity-ident})
(update-booking/request-update-quote {:form ~form})
:root/booking]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment