Skip to content

Commit

Permalink
Merge branch 'releases/v1.43.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdef1cafe committed Jul 19, 2022
2 parents 5ef91ea + c2c574f commit 42896e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/Modals/FiatRamps/views/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ export const Overview: React.FC<OverviewProps> = ({
useEffect(() => {
if (!wallet) return
supportsAddressVerifying && setSupportsAddressVerifying(true)
setChainId(fromAssetId(selectedAsset?.assetId ?? '').chainId ?? ethChainId)
const maybeAssetId = selectedAsset?.assetId
const chainId = maybeAssetId ? fromAssetId(maybeAssetId).chainId : ethChainId
setChainId(chainId)
// supportsAddressVerifying will cause infinite loop
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [selectedAsset, setChainId, setSupportsAddressVerifying, wallet])
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/pendo/components/OptInModal/OptInModalBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const OptInModalBody: React.FC<OptInModalProps> = ({ onContinue }) => {
onClick={handleConfirm}
data-test='consent-optin-continue-button'
>
<Text translation={'common.connectWallet'} />
<Text translation={'common.continue'} />
</Button>
<Button
isFullWidth
Expand Down

0 comments on commit 42896e5

Please sign in to comment.