https://supertokens.com/ logo
#support-questions
Title
# support-questions
b

Bruno Diferente

02/14/2022, 12:21 PM
Copy code
if (typeof window !== "undefined") {
  SuperTokensReact.init(frontendConfig());
  i18n.on("languageChanged", (lng) => SuperTokensReact.changeLanguage(lng));
  i18n.on("loaded", () => SuperTokensReact.loadTranslation({}));
} else {
  initNode().catch(console.error);
}
const EmptyLayout: FC = ({ children }) => {
  return <>{children}</>;
};