Hello, I did exactly same multilingual next js example on prismic. Only extra using nextjs slice machine. Main language flag is rendering but not the other language is rendering. Also when I click the forwarding me to second language too. Only language switcher is not working. But I have an issue with currentLang. TypeError: Cannot read properties of undefined (reading 'currentLang').
Do you know what can be caused this issue?