Skip to content

Commit

Permalink
dropped nested ternary since it was overcomplicated anyway, these are…
Browse files Browse the repository at this point in the history
… now inteneded to be mutually exclusive, but we drop the guarantee, risk is acceptable.
  • Loading branch information
hcientist committed Aug 8, 2024
1 parent 7837184 commit 223a829
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions components/student/recentSubmission.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const FlatEditor = dynamic(() => import('../flatEditor'), {
ssr: false,
});

const indrctdIf = (cond, t, f) => (cond ? t : f);

export default function RecentSubmission(assn) {
const {
assn: {
Expand Down
2 changes: 0 additions & 2 deletions components/teacher/grade/perform.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ export default function GradePerform({ submissions }) {
}
};

const indrctdIf = (cond, t, f) => (cond ? t : f);

return (
<Row>
<Col>
Expand Down

0 comments on commit 223a829

Please sign in to comment.