From 7cf272b41e8ec17b0ab09abfb8ebb721bcf283d5 Mon Sep 17 00:00:00 2001 From: ievavold <ievavold@wisc.edu> Date: Thu, 28 Feb 2019 11:15:19 -0600 Subject: [PATCH] remove unused selectors --- src/app/degree-planner/store/selectors.ts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/app/degree-planner/store/selectors.ts b/src/app/degree-planner/store/selectors.ts index ee00817..b34a10e 100644 --- a/src/app/degree-planner/store/selectors.ts +++ b/src/app/degree-planner/store/selectors.ts @@ -110,25 +110,6 @@ export const getActiveSelectedSearchTerm = createSelector( }, ); -export const isCurrentTerm = (termCode: TermCode) => - createSelector( - getDegreePlannerState, - (state: DegreePlannerState) => { - const currentTermCode = state.activeTermCodes[0]; - - return termCode === currentTermCode; - }, - ); - -export const isPastTerm = (termCode: TermCode) => - createSelector( - getDegreePlannerState, - (state: DegreePlannerState) => { - const currentTermCode = state.activeTermCodes[0]; - - return termCode < currentTermCode; - }, - ); export const isLoadingPlan = createSelector( getDegreePlannerState, (state: DegreePlannerState) => state.isLoadingPlan, -- GitLab