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
-2
View File
@@ -4,7 +4,6 @@ import type index from "public/locales/en/index.json";
import type labelling from "public/locales/en/labelling.json";
import type leaderboard from "public/locales/en/leaderboard.json";
import type message from "public/locales/en/message.json";
import type side_menu from "public/locales/en/side_menu.json";
import type tasks from "public/locales/en/tasks.json";
import type tos from "public/locales/en/tos.json";
@@ -18,7 +17,6 @@ declare module "i18next" {
tasks: typeof tasks;
message: typeof message;
labelling: typeof labelling;
side_menu: typeof side_menu;
tos: typeof tos;
};
}