Commit 94c23c52 authored by Bruno Burke's avatar Bruno Burke 😁

add neccessary atom attributes in exercise editor devcard

parent 3494ac6f
......@@ -19,7 +19,9 @@
[reagent.core :as reagent]))
(defonce exercise-data
(reagent/atom {}))
(reagent/atom {:id (str (gensym "new-exercise-atom"))
:title "New Exercise Atom"
:type :exercise}))
(defonce state (reagent/atom {:exercise-data @exercise-data :answer nil}))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment