From 31edf91c0aeda9f188b05dffa22db389219565bb Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Mon, 5 Mar 2018 15:15:54 +0100 Subject: [PATCH] Added notifications state selectors --- src/app/shared/notifications/selectors.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/app/shared/notifications/selectors.ts diff --git a/src/app/shared/notifications/selectors.ts b/src/app/shared/notifications/selectors.ts new file mode 100644 index 0000000000..a0b9487f42 --- /dev/null +++ b/src/app/shared/notifications/selectors.ts @@ -0,0 +1,9 @@ +/** + * Returns the user state. + * @function getUserState + * @param {AppState} state Top level state. + * @return {AuthState} + */ +import { AppState } from '../../app.reducer'; + +export const notificationsStateSelector = (state: AppState) => state.notifications;