mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 20:16:14 +02:00
✨ Signin/Signup from shared link
This commit is contained in:
parent
7256bdbcd5
commit
288dab3fe7
11 changed files with 295 additions and 67 deletions
|
@ -29,6 +29,7 @@
|
|||
[app.main.ui.viewer.handoff :as handoff]
|
||||
[app.main.ui.viewer.header :refer [header]]
|
||||
[app.main.ui.viewer.interactions :as interactions]
|
||||
[app.main.ui.viewer.login]
|
||||
[app.main.ui.viewer.thumbnails :refer [thumbnails-panel]]
|
||||
[app.util.dom :as dom]
|
||||
[app.util.i18n :as i18n :refer [tr]]
|
||||
|
@ -252,8 +253,9 @@
|
|||
(when (nil? page)
|
||||
(ex/raise :type :not-found))
|
||||
|
||||
(when (not allowed)
|
||||
(st/emit! (dv/go-to-section :interactions)))
|
||||
(mf/with-effect []
|
||||
(when (not allowed)
|
||||
(st/emit! (dv/go-to-section :interactions))))
|
||||
|
||||
;; Set the page title
|
||||
(mf/use-effect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue