File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/renderer/src/store/root-store Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,21 +28,21 @@ export async function setupRootStore() {
2828 const patchesFromMain : Array < string > = [ ]
2929
3030 window . window . lindoAPI . subscribeToIPCPatch ( ( patch : IJsonPatch ) => {
31- window . lindoAPI . logger . debug ( { patch } ) ( )
31+ console . debug ( { patch } )
3232 patchesFromMain . push ( hash ( patch ) )
3333 applyPatch ( rootStore , patch )
3434 } )
3535
3636 onPatch ( rootStore , ( patch ) => {
37- window . lindoAPI . logger . info ( 'onPatch' , patch ) ( )
37+ console . info ( 'onPatch' , patch )
3838 // ignore local storage patches
3939 if ( patch . path . startsWith ( '/gameStore' ) ) {
4040 return
4141 }
4242
4343 const patchHash = hash ( patch )
4444 if ( patchesFromMain . includes ( patchHash ) ) {
45- window . lindoAPI . logger . info ( 'patch already applied ' , patchHash ) ( )
45+ console . info ( 'patch already applied ' , patchHash )
4646 patchesFromMain . splice ( patchesFromMain . indexOf ( patchHash ) , 1 )
4747 return
4848 }
You can’t perform that action at this time.
0 commit comments