Skip to content

Commit

Permalink
Match JVM use-state return type with JS return type
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisetheridge committed Apr 20, 2023
1 parent 951a5aa commit 99b85f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/uix/hooks/alpha.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

;; == State hook ==
(defn use-state [value]
value)
[value #(no-op "set-state" %1)])

(defn use-reducer
([f value]
Expand Down

0 comments on commit 99b85f6

Please sign in to comment.