Skip to content

Resolve remaining frontend hook lint warnings #323

@Mosas2000

Description

@Mosas2000

npm run lint in frontend/ still reports warnings even though the command exits successfully.

Current warnings:

  • src/hooks/useCachedData.js:103 and src/hooks/useCachedData.js:106
    • React Hook dependency warning around timeoutIdRef.current
    • Missing dependency: loadData
  • src/hooks/usePaginatedEvents.js:93
    • Missing dependency: loadPage

Why this matters:

  • These warnings can hide stale closure or cleanup bugs.
  • The repository should ideally keep lint output clean, especially for hook logic.

Expected result:

  • npm run lint should complete without warnings in the frontend workspace.

Notes:

  • Please fix the hook dependency patterns directly rather than suppressing the warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions