Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Remove spinning for status (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Lee committed Jan 9, 2022
1 parent ba3e585 commit 84080d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ui/src/components/ReviewerList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ function ReviewItem(props: {review: Review}): JSX.Element {
const status = (status: ReviewStatusEnum) => {
switch (status) {
case ReviewStatusEnum.Pending:
return <SyncOutlined spin/>
return <SyncOutlined />
case ReviewStatusEnum.Approved:
return <CheckOutlined style={{color: "green"}} />
case ReviewStatusEnum.Rejected:
return <CloseOutlined style={{color: "red"}} />
default:
return <SyncOutlined spin/>
return <SyncOutlined />
}
}

Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/StatusStateIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function mapStateToIcon(state: StatusState): JSX.Element {
case StatusState.Null:
return <></>
case StatusState.Pending:
return <SyncOutlined spin/>
return <SyncOutlined />
case StatusState.Success:
return <CheckOutlined style={{color: colorSuccess}}/>
case StatusState.Failure:
Expand All @@ -76,7 +76,7 @@ function mapStateToIcon(state: StatusState): JSX.Element {
case StatusState.Skipped:
return <StopOutlined />
default:
return <SyncOutlined spin/>
return <SyncOutlined />
}
}

Expand Down

0 comments on commit 84080d9

Please sign in to comment.