Skip to content

Commit

Permalink
fix: alert profile icon positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
benfurber committed Oct 9, 2024
1 parent 890c92e commit 9c03aa3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/common/Alerts/AlertProfileVerification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const AlertProfileVerification = () => {
const isVerificationSuccessful = verificationState === 'sent'
const isVerificationPending = verificationState === 'pending'
const alertLabel = isVerificationPending
? 'Click here to receive an email to confirm your account.'
? 'Click here to receive an email to confirm your account'
: "Sorry, we couldn't send an email. Please try again later."
const successLabelMessage =
'Verification email sent. Please check your inbox and spam folder. '
Expand Down Expand Up @@ -55,12 +55,12 @@ export const AlertProfileVerification = () => {
)}

{!isVerificationSuccessful && (
<Text>
<>
{isVerificationPending && (
<Icon glyph="email" mr={1} verticalAlign={'text-top'} />
)}
{alertLabel}
</Text>
<Text>{alertLabel}</Text>
</>
)}
</Banner>
</Flex>
Expand Down

0 comments on commit 9c03aa3

Please sign in to comment.