liusong1111 / synapse-extension

MIT License
0 stars 0 forks source link

[ui][question] store locale in localStorage instead of extension storage? #22

Open liusong1111 opened 4 years ago

liusong1111 commented 4 years ago

https://github.com/rebase-network/synapse-extension/blob/a12c8def62a5d1c247b35b79b0d05f3d4c5b4859/src/ui/Components/LanguageSelector/index.tsx#L34

localStorage.setItem('language', event.target.value);