Skip to content

[Bug]: Missing imports in Home.tsx — useKeyboardShortcuts, SessionTimeout, AnimatePresence, motion, Command not imported #216

Description

@Git-Shubham14

Description

client/src/components/Home/Home.tsx uses 5 components/hooks that are never imported at the top of the file. This causes a ReferenceError crash and the home page shows "Something went wrong" error boundary instead of the actual UI.

Errors

ReferenceError: useKeyboardShortcuts is not defined at Home (Home.tsx:44)
ReferenceError: SessionTimeout is not defined at Home (Home.tsx:183)
ReferenceError: AnimatePresence is not defined at Home (Home.tsx:186)
ReferenceError: motion is not defined at Home (Home.tsx:188)
ReferenceError: Command is not defined at Home (Home.tsx:204)

File

client/src/components/Home/Home.tsx

Expected Behaviour

Home page should load correctly.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions