Skip to content

Commit faeb171

Browse files
committed
Partially revert "make deploy ready"
This partially reverts commit 5a8f020.
1 parent 5a8f020 commit faeb171

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/ClassTypes.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ import { LuGraduationCap, LuDumbbell } from "react-icons/lu";
88
import type { IconType } from "react-icons/lib";
99
import { HydrantContext } from "~/lib/hydrant";
1010

11-
// TODO: Enable PE when ready (eg. email from DAPER)
12-
const PE_READY = false;
13-
1411
function 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)

0 commit comments

Comments
 (0)