Skip to content

Commit 223a829

Browse files
committed
dropped nested ternary since it was overcomplicated anyway, these are now inteneded to be mutually exclusive, but we drop the guarantee, risk is acceptable.
1 parent 7837184 commit 223a829

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

components/student/recentSubmission.js

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ const FlatEditor = dynamic(() => import('../flatEditor'), {
88
ssr: false,
99
});
1010

11-
const indrctdIf = (cond, t, f) => (cond ? t : f);
12-
1311
export default function RecentSubmission(assn) {
1412
const {
1513
assn: {

components/teacher/grade/perform.js

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ export default function GradePerform({ submissions }) {
2222
}
2323
};
2424

25-
const indrctdIf = (cond, t, f) => (cond ? t : f);
26-
2725
return (
2826
<Row>
2927
<Col>

0 commit comments

Comments
 (0)