overleaf/services/web/test/frontend/shared
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
..
components Switch to new JSX runtime (#4225) 2021-06-24 02:06:59 +00:00
hooks Allow function as value for usePersistedState hook (#5131) 2021-09-24 08:04:21 +00:00
utils Merge pull request #3973 from overleaf/as-clean-up-hue-generator 2021-05-19 02:06:15 +00:00