Skip to content

[BUG] The searchParams prop is defined in page.tsx but is never used within the page component. #134

Description

@Shikigami1606

Describe the Bug

The searchParams prop is defined in page.tsx but is never used within the page component. Keeping unused props increases code clutter and may trigger TypeScript or ESLint warnings, making the codebase harder to maintain.

To Reproduce

Open page.tsx.
Inspect the PageProps interface and the page component.
Notice that searchParams is declared with query, mode, and tag fields.
Observe that searchParams is never referenced anywhere in the component.

Expected Behavior

Unused props should be removed if they are no longer needed. If searchParams is intended for future functionality, it should either be implemented or documented to avoid confusion.

Screenshots/Gifs

N/A

Environment (please complete the following information):

OS: Windows
Browser: Chrome
Node Version: 20.x

Additional Context

Removing the unused searchParams prop will improve code readability, eliminate unnecessary TypeScript/ESLint warnings, and make the component easier to maintain. If future search or filtering functionality is planned, the prop can be reintroduced when it is actively used.

I'd like to work on this issue and submit a fix.
Can you please assign me this issue for SSOC?

Metadata

Metadata

Assignees

Labels

HardSSoC26TO CONTRIBUTEbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions