docs: ngrx notification comments

This commit is contained in:
jdegand
2024-01-12 12:53:02 -05:00
parent c8b7c5d4a6
commit b5eefff9cf
3 changed files with 4 additions and 4 deletions

View File

@@ -31,9 +31,8 @@ export class NotificationService {
);
}
if (isSchool(notification)) {
// SchoolStore is not providedin root. thus at initialization, SchoolStore is undefined
// Option 1: set SchoolStore in root, but we don't want this to separate our class.
// Option 2: your turn
// SchoolStore is a ComponentStore. We can't dispatch a school action here.
// We are stuck. We must have done something wrong and need to refactor...
}
});
}