Skip to content

Commit

Permalink
Simplify use-hint! function
Browse files Browse the repository at this point in the history
  • Loading branch information
jukkakoskinen authored and vharmain committed Oct 28, 2023
1 parent 1d76d49 commit 4682fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/ui.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@


(defn use-hint! []
(r/rswap! app-state assoc :game/game (game/hint (:game/game @app-state))))
(r/rswap! app-state update :game/game game/hint))


(defn level-selector []
Expand Down

0 comments on commit 4682fd2

Please sign in to comment.