We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab6d380 commit ce930cbCopy full SHA for ce930cb
components/layout.tsx
@@ -19,12 +19,12 @@ export type LayoutProps = {
19
20
export const Layout: React.FC<React.PropsWithChildren<LayoutProps>> = ({
21
children,
22
- titleI18nKey: titleKey
+ titleI18nKey
23
}) => {
24
const { authenticated, user } = useAuth()
25
const { t } = useTranslation("common")
26
- let title = titleKey
27
- ? `${t(titleKey)} | ${t("maple_abbr")}: ${t("maple_fullName")}`
+ let title = titleI18nKey
+ ? `${t(titleI18nKey)} | ${t("maple_abbr")}: ${t("maple_fullName")}`
28
: `${t("maple_abbr")}: ${t("maple_fullName")}`
29
30
// isClient used to prevent hydration issues: quite possibly better solutions exist
0 commit comments