diff --git a/src/lib/fixes.ts b/src/lib/fixes.ts index f1ebbd0..c8971a5 100644 --- a/src/lib/fixes.ts +++ b/src/lib/fixes.ts @@ -27,7 +27,7 @@ function onDispatch({ locale }: { locale: string }) { } // We're done here! - FluxDispatcher.unsubscribe("I18N_LOAD_START", onDispatch); + FluxDispatcher.unsubscribe("I18N_LOAD_SUCCESS", onDispatch); } -export default () => FluxDispatcher.subscribe("I18N_LOAD_START", onDispatch); \ No newline at end of file +export default () => FluxDispatcher.subscribe("I18N_LOAD_SUCCESS", onDispatch); \ No newline at end of file