mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-09-09 11:15:08 +08:00
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:
Vendored
-2
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user