File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ import { LuGraduationCap, LuDumbbell } from "react-icons/lu";
88import type { IconType } from "react-icons/lib" ;
99import { HydrantContext } from "~/lib/hydrant" ;
1010
11- // TODO: Enable PE when ready (eg. email from DAPER)
12- const PE_READY = false ;
13-
1411function classTypeComponents ( termKeys : ClassType [ ] ) {
1512 const obj = { } as Record < ClassType , [ IconType , React . ComponentType ] > ;
1613
@@ -31,8 +28,7 @@ export const ClassTypesSwitcher = () => {
3128
3229 const tabs = classTypeComponents ( [
3330 ...( state . classes . size > 0 ? [ ClassType . ACADEMIC ] : [ ] ) ,
34- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
35- ...( state . peClasses . size > 0 && PE_READY ? [ ClassType . PEW ] : [ ] ) ,
31+ ...( state . peClasses . size > 0 ? [ ClassType . PEW ] : [ ] ) ,
3632 ] ) ;
3733
3834 if ( Object . keys ( tabs ) . length > 1 )
You can’t perform that action at this time.
0 commit comments