diff --git a/src/app/ui.cljs b/src/app/ui.cljs index 8abce8d..ff2fb97 100644 --- a/src/app/ui.cljs +++ b/src/app/ui.cljs @@ -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 []