add ngrx store and effect
This commit is contained in:
@@ -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])
|
||||
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user