Remove window.i18n in favor of SignalContext.i18n

This commit is contained in:
Fedor Indutny
2025-10-10 13:48:40 -07:00
committed by GitHub
parent 40c31e138b
commit 41a6cfaf63
46 changed files with 201 additions and 213 deletions
+1 -4
View File
@@ -43,11 +43,8 @@ const { groupBy, mapValues } = lodash;
const log = createLogger('phase1-ipc');
// It is important to call this as early as possible
window.i18n = SignalContext.i18n;
// We are comfortable doing this because we verified the type on the other side!
const { config } = window.SignalContext;
const { config } = SignalContext;
// Flags for testing
const Flags = {