1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Remove console errors (#20209)

This commit is contained in:
Daniel 2023-07-26 17:32:15 +02:00 committed by GitHub
parent 9441c0fb7d
commit 0f582af3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -945,11 +945,7 @@ export default function PrepareSwapPage({
</Text>
</Box>
)}
<Box
display={DISPLAY.FLEX}
justifyContent={JustifyContent.center}
height={0}
>
<Box display={DISPLAY.FLEX} justifyContent={JustifyContent.center}>
<div
className={classnames('prepare-swap-page__switch-tokens', {
'prepare-swap-page__switch-tokens--rotate': rotateSwitchTokens,

View File

@ -62,7 +62,7 @@ export default function SwapsFooter({
SwapsFooter.propTypes = {
onCancel: PropTypes.func,
hideCancel: PropTypes.bool,
onSubmit: PropTypes.func.isRequired,
onSubmit: PropTypes.func,
submitText: PropTypes.string,
disabled: PropTypes.bool,
showTermsOfService: PropTypes.bool,