diff --git a/src/v3/src/components/Widget/index.tsx b/src/v3/src/components/Widget/index.tsx index a15c2310e2..1a60e509c7 100644 --- a/src/v3/src/components/Widget/index.tsx +++ b/src/v3/src/components/Widget/index.tsx @@ -157,6 +157,7 @@ export const Widget: FunctionComponent = (widgetProps) => { initDefaultLanguage(); }); + // on unmount, remove the language useEffect(() => () => { if (Bundles.isLoaded(languageCode)) { Bundles.remove();