Hello guys,
I realized that it's not possible to destructure the useLocalization hook, when destructure, it causes an error. I made an example to demonstrate the problem.
const { toLanguageString } = useLocalization(); //THROW AN ERROR
const localization = useLocalization(); //NORMAL
xenodochial-dan-prqfvt - CodeSandbox
Is this actually expected or is it just a bug?
Thanks,
Gabriel.