liusong1111 / synapse-extension

MIT License
0 stars 0 forks source link

[ui][refactor] `useCallback` to cache event handler #23

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#L32