mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 02:55:17 +02:00
🐛 Fix internal error on missing theme setting in profile (#6822)
This commit is contained in:
parent
953287ea33
commit
3e45e4fb25
1 changed files with 3 additions and 1 deletions
|
@ -172,7 +172,9 @@
|
||||||
current)]
|
current)]
|
||||||
(case current
|
(case current
|
||||||
"dark" "light"
|
"dark" "light"
|
||||||
"light" "dark")))))
|
"light" "dark"
|
||||||
|
; Failsafe for missing data
|
||||||
|
"dark")))))
|
||||||
|
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [it state _]
|
(watch [it state _]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue