Skip to content

TypeError: textFilter.find is not a function – fails when textFilter is not an array #1380

Description

@priya-tik

When loading the app, the selector getTextFilter throws a runtime error:

  • TypeError: textFilter.find is not a function

The error occurs when stale or malformed data (e.g., from localStorage or persisted Redux state) causes textFilter to be an invalid type (e.g., string or object). This is especially common after state shape changes or cache corruption.
The app clears localStorage and forces a cache-busting reload to recover.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions