Skip to content

Commit

Permalink
fix: tup-542 (4) unpair link to right → button underneath (#282)
Browse files Browse the repository at this point in the history
* fix: tup-542 (4) unpiar link → button under status

* style: nx format:write

---------

Co-authored-by: Jake Rosenberg <[email protected]>
  • Loading branch information
wesleyboar and jarosenb authored Aug 7, 2023
1 parent e7f67c0 commit 6f47283
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions libs/tup-components/src/accounts/ManageAccount.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,5 @@
}

.mfa-options {
display: flex;
flex-direction: row;
justify-content: space-between;
/* no styles needed yet */
}
6 changes: 3 additions & 3 deletions libs/tup-components/src/accounts/ManageAccountMfa.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const MfaUnpair: React.FC<{ pairing: MfaTokenResponse }> = ({ pairing }) => {
};
return (
<>
<Button type="link" onClick={() => toggle()}>
<Button type="secondary" onClick={() => toggle()}>
Unpair
</Button>
<Modal
Expand Down Expand Up @@ -153,9 +153,9 @@ export const AccountMfa: React.FC = () => {
)}
{hasPairing && data.token && (
<div className={styles['mfa-options']}>
<span>
<p>
{TOKEN_TYPE[data.token.tokentype]} ({data.token.serial})
</span>
</p>
<MfaUnpair pairing={data} />
</div>
)}
Expand Down

0 comments on commit 6f47283

Please sign in to comment.