* fix: move cancelled upcoming booking to cancelled tab
* fix: lint
* Update server/routers/viewer.tsx
Co-authored-by: Mihai Colceriu <colceriumi@gmail.com>
* fix: also for past bookings
Co-authored-by: Alex Johansson <alexander@n1s.se>
* Makes userRequired middleware
* Prevent users from changing usernames to premium ones
* refactor on zomars' branch (#801)
* rename `profile` -> `mutation`
* `createProtectedRouter()` helper
* move profile mutation to `viewer.`
* simplify checkUsername
* Auto scrolls to error when there is one
* Renames username helpers
* Follows db convention
Co-authored-by: Alex Johansson <alexander@n1s.se>
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>