Skip to content

useTranslator() returns an undefined function #41

@ThatHackerDudeFromCyberspace

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

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