0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

Tempory enable full rerender on lang change.

Until all components starts using i18n/use-translations hook.
This commit is contained in:
Andrey Antukh 2020-01-11 18:41:27 +01:00
parent f7838601e6
commit 41b465f444

View file

@ -29,15 +29,7 @@
(declare reinit)
(s/check-asserts true)
;; (i18n/update-locales! (fn [locales]
;; (-> locales
;; (assoc "en" en/locales)
;; (assoc "fr" fr/locales))))
;; (i18n/on-locale-change!
;; (fn [new old]
;; (println "Locale changed from" old " to " new)
;; (reinit)))
(rx/sub! i18n/locale-sub #(reinit))
;; --- Error Handling