From a5507f4ee6f65b2fd0bedc22c5618474c46367aa Mon Sep 17 00:00:00 2001 From: Anil Kumar Rai Date: Tue, 4 Oct 2022 21:20:45 +0530 Subject: [PATCH 1/2] added height and width to images --- src/components-v2/TokenLogo/TokenLogo.tsx | 11 +- .../VaultApyInformation/index.tsx | 2 +- .../YieldBearingRewards.tsx | 2 +- src/components-v2/common/NetworkGasWidget.tsx | 2 + .../common/WalletTokenBalance.tsx | 2 +- .../common/dialogs/VaultDeposit.tsx | 1 + .../common/dialogs/VaultWithdraw.tsx | 1 + src/components-v2/landing/VaultItemApr.tsx | 9 +- src/components-v2/landing/VaultListItem.tsx | 3 + .../landing/VaultListItemMobile.tsx | 7 +- src/components-v2/navbar/NavbarMobileRow.tsx | 2 +- .../vault-detail/specs/VaultMetrics.tsx | 9 +- src/components/Boost/BadgerBoostImage.tsx | 8 +- src/components/Boost/HoldingAssetInput.tsx | 16 +- src/components/Boost/RankLevel.tsx | 1 + src/components/Boost/ScoreAnimation.tsx | 13 +- .../Boost/StakeInformationHeader.tsx | 5 +- src/components/IbBTC/OptionToken.tsx | 2 +- src/tests/__snapshots__/Landing.test.tsx.snap | 438 ++++++++++++++++-- src/tests/__snapshots__/Navbar.test.tsx.snap | 10 + .../NetworkGasWidget.test.tsx.snap | 2 + .../__snapshots__/VaultDeposit.test.tsx.snap | 8 + .../__snapshots__/VaultWithdraw.test.tsx.snap | 8 + .../__snapshots__/WalletDrawer.test.tsx.snap | 4 + .../__snapshots__/Optimizer.test.tsx.snap | 78 ++++ .../ibBTC/__snapshots__/Mint.test.tsx.snap | 12 + .../ibBTC/__snapshots__/Redeem.test.tsx.snap | 8 + .../__snapshots__/Description.test.tsx.snap | 4 + .../__snapshots__/Holdings.test.tsx.snap | 8 + .../__snapshots__/SpecsCard.test.tsx.snap | 6 + .../TokenDistributionIcon.test.tsx.snap | 6 + .../__snapshots__/VaultItemApr.test.tsx.snap | 4 + .../VaultListDisplay.test.tsx.snap | 150 +++++- .../__snapshots__/VaultMetrics.test.tsx.snap | 4 + 34 files changed, 775 insertions(+), 71 deletions(-) diff --git a/src/components-v2/TokenLogo/TokenLogo.tsx b/src/components-v2/TokenLogo/TokenLogo.tsx index fa04efa40..6efc1133e 100644 --- a/src/components-v2/TokenLogo/TokenLogo.tsx +++ b/src/components-v2/TokenLogo/TokenLogo.tsx @@ -14,7 +14,16 @@ const TokenLogo = ({ token, ...imageProps }: Props): JSX.Element => { currentTarget.src = '/assets/icons/token-logo-fallback.svg'; currentTarget.onerror = null; }; - return {`${token.symbol}; + return ( + {`${token.symbol} + ); }; export default TokenLogo; diff --git a/src/components-v2/VaultApyInformation/index.tsx b/src/components-v2/VaultApyInformation/index.tsx index 5463a0101..93a02c7b9 100644 --- a/src/components-v2/VaultApyInformation/index.tsx +++ b/src/components-v2/VaultApyInformation/index.tsx @@ -239,7 +239,7 @@ const VaultApyInformation = ({ {isNewVault && ( <> - New Vault + New Vault New Vault )} diff --git a/src/components-v2/YieldBearingVaults/YieldBearingRewards.tsx b/src/components-v2/YieldBearingVaults/YieldBearingRewards.tsx index 6f095d778..65bf02720 100644 --- a/src/components-v2/YieldBearingVaults/YieldBearingRewards.tsx +++ b/src/components-v2/YieldBearingVaults/YieldBearingRewards.tsx @@ -25,7 +25,7 @@ const useStyles = makeStyles((theme: Theme) => ({ }, video: { display: 'flex', - background: '#CCCCCC', + background: '#121212', width: '100%', height: 320, }, diff --git a/src/components-v2/common/NetworkGasWidget.tsx b/src/components-v2/common/NetworkGasWidget.tsx index 7820c4832..3581b58de 100644 --- a/src/components-v2/common/NetworkGasWidget.tsx +++ b/src/components-v2/common/NetworkGasWidget.tsx @@ -44,6 +44,8 @@ const NetworkGasWidget = (): JSX.Element => { className={classes.selectedNetworkIcon} src={getNetworkIconPath(networkStore.network)} alt="selected network icon" + width="17" + height="17" /> {
- + {balance.token.symbol} diff --git a/src/components-v2/common/dialogs/VaultDeposit.tsx b/src/components-v2/common/dialogs/VaultDeposit.tsx index 2b31545f8..cc79c2fb3 100644 --- a/src/components-v2/common/dialogs/VaultDeposit.tsx +++ b/src/components-v2/common/dialogs/VaultDeposit.tsx @@ -106,6 +106,7 @@ const useStyles = makeStyles((theme) => ({ height: '100%', '& img': { maxWidth: 24, + maxHeight: 24, }, '& .token-name': { paddingLeft: 5, diff --git a/src/components-v2/common/dialogs/VaultWithdraw.tsx b/src/components-v2/common/dialogs/VaultWithdraw.tsx index ec6fbe37d..3c8841dd0 100644 --- a/src/components-v2/common/dialogs/VaultWithdraw.tsx +++ b/src/components-v2/common/dialogs/VaultWithdraw.tsx @@ -62,6 +62,7 @@ const useStyles = makeStyles((theme) => ({ height: '100%', '& img': { maxWidth: 24, + maxHeight: 24, }, '& .token-name': { paddingLeft: 5, diff --git a/src/components-v2/landing/VaultItemApr.tsx b/src/components-v2/landing/VaultItemApr.tsx index 658939117..39c982259 100644 --- a/src/components-v2/landing/VaultItemApr.tsx +++ b/src/components-v2/landing/VaultItemApr.tsx @@ -24,6 +24,7 @@ const useStyles = makeStyles((theme: Theme) => ({ }, aprDisplay: { justifyContent: 'flex-end', + alignItems: 'center', [theme.breakpoints.down('sm')]: { justifyContent: 'flex-start', }, @@ -106,7 +107,7 @@ const VaultItemApr = ({ vault }: Props): JSX.Element => { const isNewVault = vault.state === VaultState.Experimental || vault.state === VaultState.Guarded; const aprDisplay = isNewVault ? ( <> - New Vault New Vault + New Vault New Vault ) : !useHistoricAPY ? ( `${numberWithCommas(projectedVaultBoost.toFixed(2))}%` @@ -126,13 +127,13 @@ const VaultItemApr = ({ vault }: Props): JSX.Element => { {aprDisplay} - apy info icon + apy info icon {yieldSourcesAprTotal > 0 && ( - Yield-Bearing Rewards Yield-Bearing - Rewards: + Yield-Bearing Rewards{' '} + Yield-Bearing Rewards: Rewards earn up to {yieldSourcesAprTotal.toFixed(2)}% diff --git a/src/components-v2/landing/VaultListItem.tsx b/src/components-v2/landing/VaultListItem.tsx index 25c1c9f22..84af4c5d6 100644 --- a/src/components-v2/landing/VaultListItem.tsx +++ b/src/components-v2/landing/VaultListItem.tsx @@ -48,6 +48,9 @@ const useStyles = makeStyles((theme) => ({ padding: 2, }, }, + '& img': { + width: 'fit-content', + }, }, vaultName: { fontSize: 16, diff --git a/src/components-v2/landing/VaultListItemMobile.tsx b/src/components-v2/landing/VaultListItemMobile.tsx index 8a6ffabaf..9325f1ce7 100644 --- a/src/components-v2/landing/VaultListItemMobile.tsx +++ b/src/components-v2/landing/VaultListItemMobile.tsx @@ -21,6 +21,11 @@ const useStyles = makeStyles(() => ({ name: { marginLeft: 8, }, + logoContainer: { + '& img': { + width: 'fit-content', + }, + }, })); interface Props { @@ -48,7 +53,7 @@ const VaultListItemMobile = ({ vault }: Props): JSX.Element => { return ( - + {vault.name} diff --git a/src/components-v2/navbar/NavbarMobileRow.tsx b/src/components-v2/navbar/NavbarMobileRow.tsx index ed04ab154..90d4b627f 100644 --- a/src/components-v2/navbar/NavbarMobileRow.tsx +++ b/src/components-v2/navbar/NavbarMobileRow.tsx @@ -31,7 +31,7 @@ export const NavbarMobileRow = observer((): JSX.Element => { uiState.openSidebar()}> - open menu + open menu Badger Logo diff --git a/src/components-v2/vault-detail/specs/VaultMetrics.tsx b/src/components-v2/vault-detail/specs/VaultMetrics.tsx index 92116d978..39ca157cf 100644 --- a/src/components-v2/vault-detail/specs/VaultMetrics.tsx +++ b/src/components-v2/vault-detail/specs/VaultMetrics.tsx @@ -62,6 +62,7 @@ const useStyles = makeStyles((theme) => ({ }, aprDisplay: { justifyContent: 'flex-end', + alignItems: 'center', [theme.breakpoints.down('sm')]: { justifyContent: 'flex-start', }, @@ -111,7 +112,13 @@ const VaultMetrics = observer(({ vault }: Props): JSX.Element => { {aprDisplay} - apy info icon + apy info icon diff --git a/src/components/Boost/BadgerBoostImage.tsx b/src/components/Boost/BadgerBoostImage.tsx index b384050b0..74bfd548a 100644 --- a/src/components/Boost/BadgerBoostImage.tsx +++ b/src/components/Boost/BadgerBoostImage.tsx @@ -23,14 +23,18 @@ const useStyles = (signatureColor: string) => { interface Props extends BoxProps { signatureColor: string; + imageProps: { + width: string; + height: string; + }; } -export const BadgerBoostImage = ({ signatureColor, className, ...boxProps }: Props): JSX.Element => { +export const BadgerBoostImage = ({ signatureColor, className, imageProps, ...boxProps }: Props): JSX.Element => { const classes = useStyles(signatureColor)(); return (
- Badger Logo + Badger Logo
); }; diff --git a/src/components/Boost/HoldingAssetInput.tsx b/src/components/Boost/HoldingAssetInput.tsx index d8d7bad61..535d21bc5 100644 --- a/src/components/Boost/HoldingAssetInput.tsx +++ b/src/components/Boost/HoldingAssetInput.tsx @@ -105,12 +105,24 @@ export const HoldingAssetInput = ({ ...InputProps, startAdornment: ( ), endAdornment: ( ), classes: inputClasses, diff --git a/src/components/Boost/RankLevel.tsx b/src/components/Boost/RankLevel.tsx index c316a08f2..b112d7042 100644 --- a/src/components/Boost/RankLevel.tsx +++ b/src/components/Boost/RankLevel.tsx @@ -64,6 +64,7 @@ export const RankLevel = ({ name, signatureColor, obtained = false, hasBeenReach
diff --git a/src/components/Boost/ScoreAnimation.tsx b/src/components/Boost/ScoreAnimation.tsx index 062f2e20e..efe2d6443 100644 --- a/src/components/Boost/ScoreAnimation.tsx +++ b/src/components/Boost/ScoreAnimation.tsx @@ -30,6 +30,7 @@ const useStyles = makeStyles((theme) => ({ }, boostImage: { width: '60%', + height: 'auto', }, boostEye: { width: '30px', @@ -97,11 +98,19 @@ const useAnimatedStyles = (stakeRatio: number) => { export const BoostBadgerAnimation = ({ stakeRatio }: BoostBadgeProps): JSX.Element => { const classes = useStyles(); const animatedClasses = useAnimatedStyles(stakeRatio)(); - const eyesImage = Badger Eyes; + const eyesImage = ( + Badger Eyes + ); return (
{eyesImage}
- Badger Logo + Badger Logo
{eyesImage}
); diff --git a/src/components/Boost/StakeInformationHeader.tsx b/src/components/Boost/StakeInformationHeader.tsx index 9d7b79db4..97831fe81 100644 --- a/src/components/Boost/StakeInformationHeader.tsx +++ b/src/components/Boost/StakeInformationHeader.tsx @@ -88,7 +88,10 @@ export const StakeInformationHeader = ({
- +
{currentRank.name} diff --git a/src/components/IbBTC/OptionToken.tsx b/src/components/IbBTC/OptionToken.tsx index c8e3bfd40..1a18c5224 100644 --- a/src/components/IbBTC/OptionToken.tsx +++ b/src/components/IbBTC/OptionToken.tsx @@ -26,7 +26,7 @@ export const OptionToken = ({ token }: TokenProps): JSX.Element => { const classes = useStyles(); return (
- + {symbol} diff --git a/src/tests/__snapshots__/Landing.test.tsx.snap b/src/tests/__snapshots__/Landing.test.tsx.snap index 60f4b03c5..27cd92a93 100644 --- a/src/tests/__snapshots__/Landing.test.tsx.snap +++ b/src/tests/__snapshots__/Landing.test.tsx.snap @@ -559,7 +559,9 @@ exports[`Landing Renders correctly 1`] = ` CVX logo
@@ -606,7 +608,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
@@ -748,7 +756,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
@@ -864,7 +878,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
@@ -993,7 +1013,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: graviAURA logo WETH logo
@@ -1119,7 +1149,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: BADGER logo
@@ -1240,7 +1278,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: DIGG logo graviAURA logo
@@ -1366,7 +1414,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: bveCVX logo
@@ -1487,7 +1543,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: crvRenWSBTC logo
@@ -1621,7 +1685,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo
@@ -1742,7 +1814,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: BADGER logo
@@ -1863,7 +1943,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon @@ -1911,7 +1993,9 @@ exports[`Landing Renders correctly 1`] = ` WBTC logo @@ -1958,7 +2042,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon @@ -2006,12 +2092,16 @@ exports[`Landing Renders correctly 1`] = ` WBTC logo WETH logo @@ -2058,7 +2148,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon @@ -2106,17 +2198,23 @@ exports[`Landing Renders correctly 1`] = ` bb-a-USDT logo bb-a-DAI logo bb-a-USDC logo @@ -2163,7 +2261,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo
@@ -2284,7 +2390,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo WETH logo
@@ -2410,7 +2526,9 @@ exports[`Landing Renders correctly 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: graviAURA logo WETH logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: BADGER logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: DIGG logo graviAURA logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: bveCVX logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: crvRenWSBTC logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: BADGER logo
@@ -4031,7 +4233,9 @@ exports[`Landing Renders mobile version correctly 1`] = ` WBTC logo
@@ -4123,12 +4329,16 @@ exports[`Landing Renders mobile version correctly 1`] = ` WBTC logo WETH logo
@@ -4220,17 +4432,23 @@ exports[`Landing Renders mobile version correctly 1`] = ` bb-a-USDT logo bb-a-DAI logo bb-a-USDC logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo WETH logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: graviAURA logo WETH logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: BADGER logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: DIGG logo graviAURA logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: bveCVX logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: crvRenWSBTC logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: BADGER logo
@@ -6139,7 +6461,9 @@ exports[`Landing Renders tablet version correctly 1`] = ` WBTC logo
@@ -6231,12 +6557,16 @@ exports[`Landing Renders tablet version correctly 1`] = ` WBTC logo WETH logo
@@ -6328,17 +6660,23 @@ exports[`Landing Renders tablet version correctly 1`] = ` bb-a-USDT logo bb-a-DAI logo bb-a-USDC logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo WETH logo
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: open menu open menu crvRenWSBTC logo

crvRenWSBTC logo

crvRenWSBTC logo

crvRenWSBTC logo

Badger Logo

@@ -270,7 +280,9 @@ exports[`Boost Optimizer can jump to rank 1`] = ` decrease non native holdings @@ -460,7 +476,9 @@ exports[`Boost Optimizer can jump to rank 1`] = ` Badger Logo @@ -523,7 +541,9 @@ exports[`Boost Optimizer can jump to rank 1`] = ` Badger Logo @@ -595,7 +615,9 @@ exports[`Boost Optimizer can jump to rank 1`] = ` Badger Logo @@ -658,7 +680,9 @@ exports[`Boost Optimizer can jump to rank 1`] = ` Badger Logo @@ -721,7 +745,9 @@ exports[`Boost Optimizer can jump to rank 1`] = ` Badger Logo @@ -848,7 +874,9 @@ exports[`Boost Optimizer displays correct information 1`] = ` decrease native holdings Badger Logo
@@ -1005,7 +1041,9 @@ exports[`Boost Optimizer displays correct information 1`] = ` decrease non native holdings
@@ -1195,7 +1237,9 @@ exports[`Boost Optimizer displays correct information 1`] = ` Badger Logo @@ -1259,7 +1303,9 @@ exports[`Boost Optimizer displays correct information 1`] = ` Badger Logo @@ -1322,7 +1368,9 @@ exports[`Boost Optimizer displays correct information 1`] = ` Badger Logo @@ -1385,7 +1433,9 @@ exports[`Boost Optimizer displays correct information 1`] = ` Badger Logo @@ -1448,7 +1498,9 @@ exports[`Boost Optimizer displays correct information 1`] = ` Badger Logo @@ -1575,7 +1627,9 @@ exports[`Boost Optimizer supports no wallet mode 1`] = ` decrease native holdings Badger Logo
@@ -1710,7 +1772,9 @@ exports[`Boost Optimizer supports no wallet mode 1`] = ` decrease non native holdings
@@ -1909,7 +1977,9 @@ exports[`Boost Optimizer supports no wallet mode 1`] = ` Badger Logo @@ -1973,7 +2043,9 @@ exports[`Boost Optimizer supports no wallet mode 1`] = ` Badger Logo @@ -2037,7 +2109,9 @@ exports[`Boost Optimizer supports no wallet mode 1`] = ` Badger Logo @@ -2101,7 +2175,9 @@ exports[`Boost Optimizer supports no wallet mode 1`] = ` Badger Logo @@ -2164,7 +2240,9 @@ exports[`Boost Optimizer supports no wallet mode 1`] = ` Badger Logo diff --git a/src/tests/ibBTC/__snapshots__/Mint.test.tsx.snap b/src/tests/ibBTC/__snapshots__/Mint.test.tsx.snap index 940e729b9..6e372ee3d 100644 --- a/src/tests/ibBTC/__snapshots__/Mint.test.tsx.snap +++ b/src/tests/ibBTC/__snapshots__/Mint.test.tsx.snap @@ -80,7 +80,9 @@ exports[`ibBTC Mint can apply max balance 1`] = ` bcrvRenWBTC logo
crvRenWSBTC logo
diff --git a/src/tests/sett-details/__snapshots__/Holdings.test.tsx.snap b/src/tests/sett-details/__snapshots__/Holdings.test.tsx.snap index f8605ae1b..f81102eee 100644 --- a/src/tests/sett-details/__snapshots__/Holdings.test.tsx.snap +++ b/src/tests/sett-details/__snapshots__/Holdings.test.tsx.snap @@ -61,12 +61,16 @@ exports[`Holdings displays holdings with balance 1`] = ` BBTC logo crvRenWSBTC logo
@@ -152,12 +156,16 @@ exports[`Holdings displays holdings with no balance 1`] = ` BBTC logo crvRenWSBTC logo
diff --git a/src/tests/sett-details/__snapshots__/SpecsCard.test.tsx.snap b/src/tests/sett-details/__snapshots__/SpecsCard.test.tsx.snap index ed0f33312..f29a02fa0 100644 --- a/src/tests/sett-details/__snapshots__/SpecsCard.test.tsx.snap +++ b/src/tests/sett-details/__snapshots__/SpecsCard.test.tsx.snap @@ -37,7 +37,9 @@ exports[`Specs Section displays sett information 1`] = ` apy info icon
@@ -112,7 +114,9 @@ exports[`Specs Section displays sett information 1`] = ` BBTC logo

@@ -39,7 +41,9 @@ exports[`VaultItemApr No APR Vaults renders zero APR 1`] = ` apy info icon diff --git a/src/tests/vaults/__snapshots__/VaultListDisplay.test.tsx.snap b/src/tests/vaults/__snapshots__/VaultListDisplay.test.tsx.snap index 571b0af66..f3ea4b949 100644 --- a/src/tests/vaults/__snapshots__/VaultListDisplay.test.tsx.snap +++ b/src/tests/vaults/__snapshots__/VaultListDisplay.test.tsx.snap @@ -450,7 +450,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` DIGG logo @@ -510,7 +512,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon @@ -558,7 +562,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` CVX logo @@ -605,7 +611,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
@@ -721,7 +733,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
@@ -850,7 +868,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: graviAURA logo WETH logo
@@ -976,7 +1004,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: BADGER logo
@@ -1097,7 +1133,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: DIGG logo graviAURA logo
@@ -1223,7 +1269,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: bveCVX logo
@@ -1344,7 +1398,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
@@ -1486,7 +1546,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: crvRenWSBTC logo
@@ -1620,7 +1688,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo
@@ -1741,7 +1817,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: BADGER logo
@@ -1862,7 +1946,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon @@ -1910,7 +1996,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` WBTC logo @@ -1957,7 +2045,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon @@ -2005,12 +2095,16 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` WBTC logo WETH logo @@ -2057,7 +2151,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon @@ -2105,17 +2201,23 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` bb-a-USDT logo bb-a-DAI logo bb-a-USDC logo @@ -2162,7 +2264,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo
@@ -2283,7 +2393,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards: WBTC logo WETH logo
@@ -2409,7 +2529,9 @@ exports[`VaultListDisplay uses default sort criteria by default 1`] = ` apy info icon
Yield-Bearing Rewards - Yield-Bearing Rewards: + + Yield-Bearing Rewards:
@@ -127,7 +129,9 @@ exports[`VaultMetrics renders correctly 1`] = ` apy info icon From 179a84c37dc8bcdcfb359fdf85a2597a6a176f16 Mon Sep 17 00:00:00 2001 From: Anil Kumar Rai Date: Tue, 4 Oct 2022 21:33:45 +0530 Subject: [PATCH 2/2] updated snapshot --- src/tests/__snapshots__/Landing.test.tsx.snap | 432 +++++++++--------- 1 file changed, 216 insertions(+), 216 deletions(-) diff --git a/src/tests/__snapshots__/Landing.test.tsx.snap b/src/tests/__snapshots__/Landing.test.tsx.snap index 27cd92a93..a0367bfd4 100644 --- a/src/tests/__snapshots__/Landing.test.tsx.snap +++ b/src/tests/__snapshots__/Landing.test.tsx.snap @@ -2824,14 +2824,14 @@ exports[`Landing Renders mobile version correctly 1`] = ` class="MuiPaper-root-76 MuiCard-root-395 MuiGrid-root-104 makeStyles-root-650 MuiGrid-container-105 MuiGrid-direction-xs-column-108 MuiPaper-elevation1-80 MuiPaper-rounded-77" >