File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
src/renderer/features/multisig-operations/model Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 272272 "vitest" : " 3.2.4"
273273 },
274274 "sideEffects" : [
275- " *.css"
275+ " *.css" , " *.ts "
276276 ]
277277}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { accountUtils } from '@/entities/wallet';
1212import { multisigService } from '@/features/multisig-wallet' ;
1313
1414import { deepLinkModel } from './deep-link' ;
15- import './notifications' ;
15+ import { $notificationsReady } from './notifications' ;
1616
1717const $trigger = createStore < string > ( '' ) ;
1818const $debouncedApis = createStore < Record < ChainId , ApiPromise > > ( { } ) ;
@@ -41,6 +41,7 @@ const $input = combine(
4141 apis : $debouncedApis ,
4242 chains : networkModel . $chains ,
4343 accounts : accounts . $list ,
44+ notificationsReady : $notificationsReady , // initialize notifications binding
4445 } ,
4546 ( { apis, chains, accounts } ) => {
4647 const multisigs = accounts . filter ( accountUtils . isAnyMultisigAccount ) ;
Original file line number Diff line number Diff line change 1- import { sample } from 'effector' ;
1+ import { createStore , sample } from 'effector' ;
22import { t } from 'i18next' ;
33import { spread } from 'patronum' ;
44
@@ -293,3 +293,5 @@ sample({
293293 removed : notificationModel . events . notificationsRemoved ,
294294 } ) ,
295295} ) ;
296+
297+ export const $notificationsReady = createStore ( false ) . on ( operationChanges , ( ) => true ) ;
You can’t perform that action at this time.
0 commit comments