Remove dead code and the duplicated schedule picker in Navbar #85
Labels
No labels
bug
chore
data
feature
frontend
good first issue
intermediate
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/cal#85
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What's wrong
Navbar.tsxcarries leftovers that make it hard to change safely:if (!userId) return <div>Loading...</div>never runs, becauseuserIdstarts as "n/a".!isMobilecheck inside the mobile copy can never be true.Where to look
web/src/app/components/Navbar.tsxDone when
Notes
Do this after "Dark mode from system settings breaks the schedule picker and theme toggle", which touches the same picker, to avoid conflicts.