Skip to content

Commit c49f649

Browse files
committed
Fix viewer context bug from #191
1 parent 74b0099 commit c49f649

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/portal/ui/inspector.cljs

+2-2
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@
992992
(fn [e]
993993
(.stopPropagation e)
994994
(a/do
995-
(set-viewer! state context (:name viewer))
995+
(set-viewer! state [context] (:name viewer))
996996
(state/dispatch!
997997
state
998998
(if selected
@@ -1004,7 +1004,7 @@
10041004
(fn [e]
10051005
(.stopPropagation e)
10061006
(a/do
1007-
(set-viewer! state context (:name viewer))
1007+
(set-viewer! state [context] (:name viewer))
10081008
(state/dispatch! state state/select-context context)
10091009
(state/dispatch! state state/nav context)))})))
10101010

0 commit comments

Comments
 (0)