Skip to content

useMatch issue #6

@zkteco-home

Description

@zkteco-home

when i change code to typescript and get the error:
can you change it?

React Hook "useMatch" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function
expand_more

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