Put in order · Vibe coding with Claude Code course · Module 9: Discord clone
Ordering: State of collapsed categories
Arrange the line that keeps collapsed categories in state: const [collapsed, setCollapsed] = useState<Set<string>>(() => new Set());
Items to put in order
- [collapsed, setCollapsed]
- const
- useState<Set<string>>
- (() => new Set());
- =
You can check the correct answer by solving this task in the CodeWorlds game.