Skip to content

Commit

Permalink
Update to latest re-frame, closes #76
Browse files Browse the repository at this point in the history
  • Loading branch information
oliyh committed Jan 15, 2021
1 parent f3d4114 commit 4b9b439
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ The `connection-init-payload` will be sent again and all future remote calls wil
`cider-jack-in-clj&cljs`

CLJS tests are available at http://localhost:9500/figwheel-extra-main/auto-testing
You will need to run `(re-graph.integration-server/start!)` for the integration tests to pass.

[![CircleCI](https://circleci.com/gh/oliyh/re-graph.svg?style=svg)](https://circleci.com/gh/oliyh/re-graph)

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
["modules" "change" "version" "leiningen.release/bump-version"]
["vcs" "commit"]
["vcs" "push"]]
:dependencies [[re-frame "0.10.6"]
:dependencies [[re-frame "1.1.2"]
[cljs-http "0.1.45"]
[org.clojure/tools.logging "0.4.1"]
[cheshire "5.8.1"]
Expand Down
2 changes: 1 addition & 1 deletion src/re_graph/internals.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
provided-instance-name (first event)
instance-name (if (contains? re-graph provided-instance-name) provided-instance-name default-instance-name)
instance (get re-graph instance-name)
event-name (first (get-coeffect ctx ::rfi/untrimmed-event))
event-name (first (get-coeffect ctx :original-event))
trimmed-event (->> (if (= provided-instance-name instance-name)
(subvec event 1)
event)
Expand Down

0 comments on commit 4b9b439

Please sign in to comment.