overleaf/services/web/frontend
Alf Eaton 233ceb5356 Allow function as value for usePersistedState hook (#5131)
* Allow function value in usePersistedState
* Add tests for usePersistedState
* Use nullish coalescing to avoid calling getItem twice

GitOrigin-RevId: e0351addea904aefb7a402bff32689792b49fbbb
2021-09-24 08:04:21 +00:00
..
fonts Add Symbol Palette component, data and stories (#4027) 2021-05-14 02:09:50 +00:00
js Allow function as value for usePersistedState hook (#5131) 2021-09-24 08:04:21 +00:00
macros Merge pull request #4101 from overleaf/ae-settings-module 2021-07-08 02:08:28 +00:00
stories Merge pull request #4799 from overleaf/hb-eslint-rules 2021-09-15 08:03:43 +00:00
stylesheets Merge pull request #5149 from overleaf/jel-gallery-official-badge 2021-09-23 08:03:35 +00:00
extracted-translations.json Merge pull request #5149 from overleaf/jel-gallery-official-badge 2021-09-23 08:03:35 +00:00
translations-loader.js Merge pull request #3589 from overleaf/i18next-scanner 2021-02-11 03:04:29 +00:00