Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiramTadepalli committed Nov 10, 2024
1 parent a6f273e commit c855a03
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/common/CompareTable/compareTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,11 @@ function GradeAndRmpRow({
</Skeleton>
)) ||
(rmp.state === 'done' &&
getRmpValue(rmp.data as RMPInterface) == 0 && <CloseIcon />) ||
(rmp.state === 'done' &&
getRmpValue(rmp.data as RMPInterface) != 0 && (
getRmpValue(rmp.data as RMPInterface) == 0 && (
<CloseIcon />
)) ||
(rmp.state === 'done' &&
getRmpValue(rmp.data as RMPInterface) != 0 && (
<Typography className="text-base inline">
{rmpValue}
</Typography>
Expand Down

0 comments on commit c855a03

Please sign in to comment.