Skip to content

Commit

Permalink
Update Wallet.js (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
CAPtheorem authored May 10, 2022
1 parent 9010440 commit c5993b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/boba/gateway/src/containers/wallet/Wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ function Wallet() {
}

async function emergencySwap () {
if(network !== 'rinkeby') return
const res = await dispatch(getETHMetaTransaction())
if (res) dispatch(openAlert('Emergency Swap submitted'))
}
Expand All @@ -129,7 +128,7 @@ function Wallet() {
accountEnabled={accountEnabled}
/>

{layer === 'L2' && tooSmallETH && network === 'rinkeby' &&
{layer === 'L2' && tooSmallETH &&
<G.LayerAlert>
<G.AlertInfo>
<Icon as={Info} sx={{color:"#BAE21A"}}/>
Expand Down

0 comments on commit c5993b4

Please sign in to comment.