Skip to content

[Bug]: Incorrect operator (== instead of ===) + accessibility warning + unused imports #1222

@mangeshwagh91

Description

@mangeshwagh91

What happened?

A type-checking bug was found due to the use of the == operator instead of === in IndividualJourney.js, leading to incorrect comparisons. Additionally, an accessibility warning occurred because the iframe in VoiceSearch.jsx lacked a title attribute. Multiple unused imports across various components increased ESLint warnings, affecting code quality and readability. These issues collectively caused unnecessary warnings and potential unexpected behavior in the application.

Add screenshots

src\components\Search\VoiceSearch.jsx
Line 23:6: React Hook useEffect has a missing dependency: 'handleListen'. Either include it or remove the dependency array react-hooks/exhaustive-deps

What browsers are you seeing the problem on?

Chrome, Other, Brave, Microsoft Edge, Safari, Firefox

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions