Skip to content

Commit

Permalink
feat: refactored form status badges
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeallencook committed Nov 27, 2023
1 parent 0094f31 commit b0417e8
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions src/forms/FormStatusForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,25 @@ const FormStatusForm = () => {
/>
Getting Request Form Status
</>
) : status ? (
<>
Request Form Is
<Badge bg="danger" style={{ marginLeft: '5px' }}>
Live
</Badge>
</>
) : (
<>
Request Form Is
<Badge bg="dark" style={{ marginLeft: '5px' }}>
Offline
</Badge>
{' '}
Request Form Status{' '}
{status ? (
<Badge
bg="danger"
style={{ marginLeft: '5px', width: '50px' }}
>
Live
</Badge>
) : (
<Badge
bg="dark"
style={{ marginLeft: '5px', width: '50px' }}
>
Offline
</Badge>
)}
</>
)}
</InputGroup.Text>
Expand Down

0 comments on commit b0417e8

Please sign in to comment.