mirror of
https://github.com/penpot/penpot.git
synced 2025-08-01 17:58:24 +02:00
🐛 Fix incorrect handling of user lang selection.
That causes double loading of the http resources in some circumstances.
This commit is contained in:
parent
a92820e910
commit
464a686c04
3 changed files with 16 additions and 15 deletions
|
@ -73,6 +73,7 @@
|
|||
(swap! storage assoc ::locale lang)
|
||||
(reset! locale lang))
|
||||
(do
|
||||
(swap! storage dissoc ::locale)
|
||||
(reset! locale (autodetect)))))
|
||||
|
||||
(defn reset-locale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue