Fix hydration issues side menu, move side_menu.json to common.json (#1327)

Fixes #1326

This PR moves all json in side_menu.json to common.json. We have an issue with the side menu layout as it's a high level component and this causes hydration issues with SSR when global namespaces are not passed by default.
This commit is contained in:
Richard Macarthy
2023-02-09 11:45:03 +09:00
committed by GitHub
parent 27671e3220
commit cc3891ed12
34 changed files with 149 additions and 198 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export interface SideMenuProps {
export function SideMenu(props: SideMenuProps) {
const router = useRouter();
const { t } = useTranslation(["side_menu", "common"]);
const { t } = useTranslation();
return (
<main className="sticky top-0 sm:h-full">