Skip to content

[BUG] Navbar.jsx has 3 unused declarations — useContext, useEffect, and setScrolled #372

Description

@Adez017

Describe the bug

Navbar.jsx has three separate unused declarations that are causing ESLint errors. useContext and useEffect are imported from React but never called. setScrolled is declared as a state setter but the scrolled state value is never read or applied anywhere in the component.
This suggests scroll-based navbar behaviour (e.g. changing style on scroll) was started but never completed, leaving dead code behind.

- 📁 Affected File
src/components/Navbar.jsx

Steps to reproduce

1. go to wallet wise 
2. notice the files mentioned 
3. removed the unused components .

Expected behavior

No unused imports or state variables. Either the scroll feature is fully implemented or the dead code is removed.

Affected component

Frontend (React/Vue)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions