🐛 Don't navigate when no frame/index found on viewer.

This commit is contained in:
Andrey Antukh 2020-11-25 20:08:39 +01:00 committed by Hirunatan
parent b0fbc86ca7
commit 29669b8b0f
3 changed files with 4 additions and 2 deletions

View file

@ -38,6 +38,7 @@
:navigate
(let [frame-id (:destination interaction)]
(st/emit! (dv/go-to-frame frame-id)))
nil)))
(defn generic-wrapper-factory