@forge/bridge

5.15.2-next.0-experimental-5b726e65.16.0-next.1
out/view/getContext.js
~out/view/getContext.jsModified
+2
Index: package/out/view/getContext.js
===================================================================
--- package/out/view/getContext.js
+++ package/out/view/getContext.js
@@ -8,8 +8,10 @@
     var _a;
     const context = await callBridge('getContext');
     const locale = context === null || context === void 0 ? void 0 : context.locale;
     if (locale) {
+        // still fallback to the locale if it is not supported,
+        // this is to avoid breaking changes
         context.locale = (_a = (0, i18n_1.ensureLocale)(locale)) !== null && _a !== void 0 ? _a : locale;
     }
     return context;
 };