manifold/web/hooks
Austin Chen 279437ba08
List users on admin page (#28)
* Admin page using gridjs

* Move hook into separate file

* Link to each user's Manifold and Firestore /user entry

* Gate admin access to Austin/James/Stephen

* Don't leak the existence of /admin

* Add a custom 404 page that directs to Discord.

* Fix broken window.location.href on NextJS server
2022-01-15 22:09:15 -05:00
..
use-bets.ts Get static props of just data for feed: active contracts, their bets & comments. 2022-01-14 18:16:32 -06:00
use-comments.ts Get static props of just data for feed: active contracts, their bets & comments. 2022-01-14 18:16:32 -06:00
use-contract.ts contract slugs 2021-12-17 17:16:42 -06:00
use-contracts.ts Change useContracts to return undefined instead of 'loading'. Serve static props on tag page 2022-01-09 14:51:20 -06:00
use-preserve-scroll.ts Preserve scroll on back 2022-01-14 18:43:00 -06:00
use-sort-and-query-params.tsx Sort & query url params (#17) 2022-01-02 16:46:04 -06:00
use-user-bets.ts Query for user bets. Template page to show them. 2021-12-13 23:40:38 -06:00
use-user.ts Switch back to useEffect instead of useLayoutEffect, because nextjs complained. 2021-12-16 22:17:33 -06:00
use-users.ts List users on admin page (#28) 2022-01-15 22:09:15 -05:00
use-window-size.ts Fix graph's overlapping ticks on mobile 2021-12-14 00:56:36 -06:00