Skip to content

Commit ce930cb

Browse files
committed
minor function signature change in layout.tsx
1 parent ab6d380 commit ce930cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ export type LayoutProps = {
1919

2020
export const Layout: React.FC<React.PropsWithChildren<LayoutProps>> = ({
2121
children,
22-
titleI18nKey: titleKey
22+
titleI18nKey
2323
}) => {
2424
const { authenticated, user } = useAuth()
2525
const { t } = useTranslation("common")
26-
let title = titleKey
27-
? `${t(titleKey)} | ${t("maple_abbr")}: ${t("maple_fullName")}`
26+
let title = titleI18nKey
27+
? `${t(titleI18nKey)} | ${t("maple_abbr")}: ${t("maple_fullName")}`
2828
: `${t("maple_abbr")}: ${t("maple_fullName")}`
2929

3030
// isClient used to prevent hydration issues: quite possibly better solutions exist

0 commit comments

Comments
 (0)