Skip to content

Commit

Permalink
fix alerts rendering incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Jan 15, 2025
1 parent a15730f commit 1478164
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ export const TransactionStageModal = ({
<Dialog.Content data-testid="transaction-modal-inner">
{MiddleContent}
{attemptedTransactionError && (
<Helper type="error">{t(attemptedTransactionError.message)}</Helper>
<Helper alert="error">{t(attemptedTransactionError.message)}</Helper>
)}
{FilledDisplayItems}
{HelperContent}
Expand All @@ -599,7 +599,7 @@ export const TransactionStageModal = ({
{t('transaction.viewEtherscan')}
</Outlink>
)}
{preTransactionError && <Helper type="error">{preTransactionError.message}</Helper>}
{preTransactionError && <Helper alert="error">{preTransactionError.message}</Helper>}
</Dialog.Content>
<Dialog.Footer
currentStep={currentStep}
Expand Down

0 comments on commit 1478164

Please sign in to comment.