Skip to content

useTranslator() returns an undefined function #41

Description

Testing the following code in a component:

const {translate} = useTranslator(); // Translation object for translating
console.log("Testing translate:");
console.log(translate)

leads to the following output:

 LOG  Testing translate:
 LOG  undefined

And the translate() function does not work as a result

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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