diff --git a/src/accounts.tsx b/src/accounts.tsx index 04607ef59..25f0bad05 100644 --- a/src/accounts.tsx +++ b/src/accounts.tsx @@ -9,7 +9,7 @@ import { createRoot } from 'react-dom/client'; import { Provider } from 'react-redux'; import invariant from 'tiny-invariant'; import Browser from 'webextension-polyfill'; -import { onEnd, pipe } from 'wonka'; +import { onEnd, pipe, publish } from 'wonka'; import { createAccountsStore } from './accounts/store/create'; import { createUpdateState } from './accounts/updateState'; @@ -103,7 +103,8 @@ Promise.all([ port = null; Background.init(connect()); }); - }) + }), + publish ); return createIpcCallProxy( diff --git a/src/popup.tsx b/src/popup.tsx index 5a8b1e56c..e15940444 100644 --- a/src/popup.tsx +++ b/src/popup.tsx @@ -9,7 +9,7 @@ import { createRoot } from 'react-dom/client'; import { Provider } from 'react-redux'; import invariant from 'tiny-invariant'; import Browser from 'webextension-polyfill'; -import { onEnd, pipe } from 'wonka'; +import { onEnd, pipe, publish } from 'wonka'; import { SignProvider } from './_core/signContext'; import { UsdPricesProvider } from './_core/usdPrices'; @@ -115,7 +115,8 @@ Promise.all([ port = null; Background.init(connect()); }); - }) + }), + publish ); return createIpcCallProxy(