diff --git a/client/js/helpers/i18n.ts b/client/js/helpers/i18n.ts index a80d9c28d3..7f3cc72d0d 100644 --- a/client/js/helpers/i18n.ts +++ b/client/js/helpers/i18n.ts @@ -99,4 +99,4 @@ export function i18nFormat(translated: string, params?: {[index: string]: string return formatted; } -export const LocalizationContext = React.createContext(); +export const LocalizationContext = React.createContext(undefined); diff --git a/client/js/templates/SourceParam.tsx b/client/js/templates/SourceParam.tsx index 27a1f82017..d65182d002 100644 --- a/client/js/templates/SourceParam.tsx +++ b/client/js/templates/SourceParam.tsx @@ -98,7 +98,7 @@ export default function SourceParam(