monkeytype/frontend
Bruce Berrios 1eb71dc517
Add memoize async util (rewrite get json lists in misc) (#3596) Bruception Miodec
* Add memoize async util

* Stricter types

* type cast

* added getjson function

* removed unnecessary code
removed comments

* ignoring cache if value is undefined

* checking if layouts list exists

* messed up merge

* checking if layouts exist

* throwing if layouts list or layout is undefined

* catching in case layouts or layout is undefined

* catching in case layouts list or layout is undefined

* breaking in case layouts list is undefined

* showing a message if layout list is undefined

* removed console log

* themes list can return undefined

* removed catch from fetch json

* getlayoutslist no longer can return undefined

* console logging then throwing again

* rethrowing with a different message

* try catch

* catch

* try catching

* try catching

* typo

* url fix

* moved definition up

* moved functions up

* moved functions up

* removed unnecessary update

* catching errors

* updated return type
not returning

* try catching

* updated return type
throwing if list ends up undefined

* removed return

* moved functions up

* try catching

* checking if not undefined

* removed unused file

* try catching

* try catching

* rewrote language getting

* rewrote funbox

* try catching

* notification instead of console error

* notification instead of console error

* rewrote fonts

* rewrote challenges

* try catch

* typo

* rewrote contributors and supporters

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-30 22:53:24 +01:00
..
scripts checking if layouts have a valid type 2022-08-22 14:22:16 +02:00
src Add memoize async util (rewrite get json lists in misc) (#3596) Bruception Miodec 2022-10-30 22:53:24 +01:00
static updated contributors list 2022-10-29 16:45:46 +02:00
webpack connected two entries into one 2022-10-14 11:01:15 +02:00
.eslintignore
docker-compose.yaml
firebase.json updated caching for some files 2022-10-14 10:58:07 +02:00
gulpfile.js reverting path change 2022-09-22 13:42:54 +02:00
package-lock.json fixed one package vuln 2022-10-21 14:57:45 +02:00
package.json updated firebase version 2022-10-21 14:51:44 +02:00
tsconfig.json