Skip to content

Commit

Permalink
Fix success badge color (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
smitch88 authored Jul 5, 2023
1 parent 4bf4b07 commit f796804
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/components/proposal/StateTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export const StateTag = ({ state }: { state: number }) => {
{state == 1 && <StateBadge className="badge-warning">Active</StateBadge>}
{state == 2 && <StateBadge className="badge-error">Cancelled</StateBadge>}
{state == 3 && <StateBadge className="badge-error">Defeated</StateBadge>}
{state == 4 && <StateBadge className="badge-error">Succeeded</StateBadge>}
{state == 4 && (
<StateBadge className="badge-success">Succeeded</StateBadge>
)}
{state == 5 && <StateBadge className="badge-success">Queued</StateBadge>}
{state == 6 && <StateBadge className="badge-success">Expired</StateBadge>}
{state == 7 && (
Expand Down

0 comments on commit f796804

Please sign in to comment.