-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Remove unused imports/variables and resolve no-unused lint errors across the repo without changing behavior.
Context
npm run lint reports many @typescript-eslint/no-unused-vars and no-unused imports in files including App.tsx, components/Map/, components/avatar/, components/space/, layouts/, store/*.
Examples
- App.tsx: path imported but unused.
- Map components: Button, Grid, Image imported but unused.
- SpaceView.tsx: Chat, refs, and offsets declared but unused.
- DashboardLayout.tsx: Heading, Text, Navigate imported but unused.
- CreateAvatar.tsx: unused experimental/UNSAFE import.
Tasks
- Remove unused imports and variables or wire them up if they were intended for use.
- Prefer const over let where variables are not reassigned (per linter hints).
- Leave intentional placeholders only if commented with clear TODO and linter suppression, if truly needed.
Acceptance Criteria
- npm run lint passes with zero no-unused errors.
- TypeScript build is clean (tsc -b).
- No runtime behavior changes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request