Fixes display names not rendering with emojis (#37251)

This commit is contained in:
Echo authored and GitHub committed 2025-12-15 12:54:46 +00:00
1 parent 2984f377e8
commit 5fa7654688
7 files changed
+36 -29

No files matched your search

+5 -2
View File
@@ -25,7 +25,7 @@ function loaded() {
const initialState = JSON.parse(
propsNode.textContent,
) as ApiAnnualReportResponse;
) as ApiAnnualReportResponse & { me?: string };
const report = initialState.annual_reports[0];
if (!report) {
@@ -35,7 +35,10 @@ function loaded() {
// Set up store
store.dispatch(
hydrateStore({
meta: { locale: document.documentElement.lang },
meta: {
locale: document.documentElement.lang,
me: initialState.me,
},
accounts: initialState.accounts,
}),
);