📚 Document visual debug utlities

This commit is contained in:
Andrés Moya 2020-04-28 11:54:10 +02:00
parent 85b17442de
commit 0512a8dc5f
2 changed files with 31 additions and 2 deletions

View file

@ -35,5 +35,5 @@
(logjs "state" @store/state))
(defn dump-objects []
(let [page-id (get @store/state :page-id)]
(let [page-id (get @store/state :current-page-id)]
(logjs "state" (get-in @store/state [:workspace-data page-id :objects]))))