add ngrx store and effect

This commit is contained in:
2026-03-14 21:09:47 +11:00
parent d1d5d88f9c
commit ee2e030757
4 changed files with 19 additions and 8 deletions
+2 -1
View File
@@ -19,6 +19,7 @@ export const appConfig: ApplicationConfig = {
provideStore({
myStaffs: staffsReducer,
}),
provideEffects([staffEffects]),
provideStoreDevtools({
maxAge: 25,
logOnly: !isDevMode()
@@ -39,7 +40,7 @@ export const appConfig: ApplicationConfig = {
}
}
}),
provideEffects([staffEffects])
]
};