File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ export const useEventsStore = createSharedComposable(() => {
8484 const isUpdateNeeded = ! lastUpdate . value || dayjs ( ) . diff ( dayjs ( lastUpdate . value ) , "hours" ) >= 1 ;
8585 if ( isUpdateNeeded ) return updateEvents ( ) ;
8686 }
87- whenever ( ( ) => storage . value . lastUpdate , ( ) => updateCheck , { immediate : true } ) ;
87+ whenever ( ( ) => storage . value . lastUpdate , updateCheck , { immediate : true } ) ;
8888
8989 return {
9090 events,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export const useLatestVersionsStore = createSharedComposable(() => {
4545 const isUpdateNeeded = isEmpty . value || ! lastUpdate . value || dayjs ( ) . diff ( dayjs ( lastUpdate . value ) , "hours" ) >= 1 ;
4646 if ( isUpdateNeeded ) return updateLatestVersions ( ) ;
4747 }
48- whenever ( ( ) => storage . value . lastUpdate , ( ) => updateCheck , { immediate : true } ) ;
48+ whenever ( ( ) => storage . value . lastUpdate , updateCheck , { immediate : true } ) ;
4949
5050 return {
5151 latestVersions,
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ export const useRepositoriesStore = createSharedComposable(() => {
107107 const isUpdateNeeded = ! lastUpdate . value || dayjs ( ) . diff ( dayjs ( lastUpdate . value ) , "hours" ) >= 1 ;
108108 if ( isUpdateNeeded ) return updateRepositories ( ) ;
109109 }
110- whenever ( ( ) => storage . value . lastUpdate , ( ) => updateCheck , { immediate : true } ) ;
110+ whenever ( ( ) => storage . value . lastUpdate , updateCheck , { immediate : true } ) ;
111111
112112 return {
113113 repositories,
You can’t perform that action at this time.
0 commit comments