Skip to content

Commit

Permalink
fix: will-mount should return a state
Browse files Browse the repository at this point in the history
Resolved logseq#713
  • Loading branch information
tiensonqin committed Nov 24, 2020
1 parent fbfbdb3 commit f25844a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/frontend/components/diff.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@
"Install Logseq on GitHub"
:href (str "https://github.com/apps/" config/github-app-name "/installations/new"))]
:error
false)))))))))
false))))))))
state)
:will-unmount
(fn [state]
(reset! diffs nil)
Expand Down

0 comments on commit f25844a

Please sign in to comment.