Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Atatakai authored and Atatakai committed May 24, 2024
1 parent c47aef8 commit 251a8bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/components/Setup/Create/SetupEoaFunding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ export const SetupEoaFunding = () => {
MIN_ETH_BALANCE_THRESHOLDS[Chain.GNOSIS].safeCreation;

const statusMessage = useMemo(() => {
if (!isFundedMasterEoa) {
return 'Waiting for transaction';
} else {
if (isFundedMasterEoa) {
return 'Funds have been received!';
} else {
return 'Waiting for transaction';
}
}, [isFundedMasterEoa]);

Expand All @@ -74,7 +74,7 @@ export const SetupEoaFunding = () => {

<CardSection bordertop="true" borderbottom="true">
<Typography.Text
className={!isFundedMasterEoa ? 'loading-ellipses' : ''}
className={isFundedMasterEoa ? '' : 'loading-ellipses'}
>
Status: {statusMessage}
</Typography.Text>
Expand Down

0 comments on commit 251a8bd

Please sign in to comment.