diff --git a/src/components/AccountDrawer/AuthenticatedHeader.tsx b/src/components/AccountDrawer/AuthenticatedHeader.tsx index a5a41ad8a2..1ca5a0fab3 100644 --- a/src/components/AccountDrawer/AuthenticatedHeader.tsx +++ b/src/components/AccountDrawer/AuthenticatedHeader.tsx @@ -114,7 +114,7 @@ const AccountNamesWrapper = styled.div` width: 100%; flex-direction: column; justify-content: center; - gap: 4px; + gap: 2px; ` const StyledInfoIcon = styled(Info)` @@ -240,7 +240,7 @@ export default function AuthenticatedHeader({ account, openSettings }: { account {account && ( - + {ENSName ?? shortenAddress(account, 4, 4)} {/* Displays smaller view of account if ENS name was rendered above */} diff --git a/src/components/AccountDrawer/MiniPortfolio/Activity/ActivityRow.tsx b/src/components/AccountDrawer/MiniPortfolio/Activity/ActivityRow.tsx index 569a7fd7ed..82b77ff5d1 100644 --- a/src/components/AccountDrawer/MiniPortfolio/Activity/ActivityRow.tsx +++ b/src/components/AccountDrawer/MiniPortfolio/Activity/ActivityRow.tsx @@ -48,7 +48,7 @@ export function ActivityRow({ } - title={{title}} + title={{title}} descriptor={ {descriptor} diff --git a/src/components/AccountDrawer/MiniPortfolio/Activity/index.tsx b/src/components/AccountDrawer/MiniPortfolio/Activity/index.tsx index 2f2fb4fbcf..8ff0b1663e 100644 --- a/src/components/AccountDrawer/MiniPortfolio/Activity/index.tsx +++ b/src/components/AccountDrawer/MiniPortfolio/Activity/index.tsx @@ -140,7 +140,7 @@ export function ActivityTab({ account }: { account: string }) { {activityGroups.map((activityGroup) => ( - + {activityGroup.title} diff --git a/src/components/AccountDrawer/MiniPortfolio/Pools/index.tsx b/src/components/AccountDrawer/MiniPortfolio/Pools/index.tsx index 0cc34e1779..40d021a061 100644 --- a/src/components/AccountDrawer/MiniPortfolio/Pools/index.tsx +++ b/src/components/AccountDrawer/MiniPortfolio/Pools/index.tsx @@ -154,7 +154,7 @@ function PositionListItem({ positionInfo }: { positionInfo: PositionInfo }) { left={} title={ - + {pool.token0.symbol} / {pool.token1?.symbol} @@ -173,7 +173,7 @@ function PositionListItem({ positionInfo }: { positionInfo: PositionInfo }) { } > - + {formatNumber((liquidityValue ?? 0) + (feeValue ?? 0), NumberType.PortfolioBalance)} diff --git a/src/components/AccountDrawer/MiniPortfolio/Tokens/index.tsx b/src/components/AccountDrawer/MiniPortfolio/Tokens/index.tsx index dbb5e88eb6..139fe6be48 100644 --- a/src/components/AccountDrawer/MiniPortfolio/Tokens/index.tsx +++ b/src/components/AccountDrawer/MiniPortfolio/Tokens/index.tsx @@ -112,7 +112,7 @@ function TokenRow({ token, quantity, denominatedValue, tokenProjectMarket }: Tok > } - title={{token?.name}} + title={{token?.name}} descriptor={ {formatNumber(quantity, NumberType.TokenNonTx)} {token?.symbol} @@ -122,7 +122,7 @@ function TokenRow({ token, quantity, denominatedValue, tokenProjectMarket }: Tok right={ denominatedValue && ( <> - + {formatNumber(denominatedValue?.value, NumberType.PortfolioBalance)} diff --git a/src/components/AccountDrawer/SlideOutMenu.tsx b/src/components/AccountDrawer/SlideOutMenu.tsx index 0261e20bff..aa5fb89b1d 100644 --- a/src/components/AccountDrawer/SlideOutMenu.tsx +++ b/src/components/AccountDrawer/SlideOutMenu.tsx @@ -49,7 +49,7 @@ export const SlideOutMenu = ({
- <ThemedText.SubHeader fontWeight={500}>{title}</ThemedText.SubHeader> + <ThemedText.SubHeader>{title}</ThemedText.SubHeader>
diff --git a/src/components/ErrorBoundary/index.tsx b/src/components/ErrorBoundary/index.tsx index aef3ddcca3..537877a1b4 100644 --- a/src/components/ErrorBoundary/index.tsx +++ b/src/components/ErrorBoundary/index.tsx @@ -132,7 +132,7 @@ const Fallback = ({ error, eventId }: { error: Error; eventId: string | null })
- + Error ID: {eventId} @@ -164,7 +164,7 @@ const Fallback = ({ error, eventId }: { error: Error; eventId: string | null }) - Error details + Error details diff --git a/src/components/Popups/TransactionPopup.tsx b/src/components/Popups/TransactionPopup.tsx index 679e8a739e..e9c972fc4c 100644 --- a/src/components/Popups/TransactionPopup.tsx +++ b/src/components/Popups/TransactionPopup.tsx @@ -43,7 +43,7 @@ function TransactionPopupContent({ tx, chainId }: { tx: TransactionDetails; chai ) } - title={{activity.title}} + title={{activity.title}} descriptor={ {activity.descriptor} diff --git a/src/components/WalletModal/index.tsx b/src/components/WalletModal/index.tsx index 7c96c6856f..eeb4cdc4ab 100644 --- a/src/components/WalletModal/index.tsx +++ b/src/components/WalletModal/index.tsx @@ -179,7 +179,7 @@ export default function WalletModal({ openSettings }: { openSettings: () => void return ( - Connect a wallet + Connect a wallet {pendingError ? ( diff --git a/src/nft/components/collection/Sweep.tsx b/src/nft/components/collection/Sweep.tsx index 174bc6cfce..63f9ee5600 100644 --- a/src/nft/components/collection/Sweep.tsx +++ b/src/nft/components/collection/Sweep.tsx @@ -2,6 +2,7 @@ import 'rc-slider/assets/index.css' import { BigNumber } from '@ethersproject/bignumber' import { formatEther, parseEther } from '@ethersproject/units' +import { Trans } from '@lingui/macro' import { SweepFetcherParams, useSweepNftAssets } from 'graphql/data/nft/Asset' import { useBag, useCollectionFilters } from 'nft/hooks' import { GenieAsset, isPooledMarket, Markets } from 'nft/types' @@ -366,8 +367,8 @@ export const Sweep = ({ contractAddress, minPrice, maxPrice }: SweepProps) => { - - Sweep + + Sweep diff --git a/src/nft/components/details/AssetPriceDetails.tsx b/src/nft/components/details/AssetPriceDetails.tsx index dee8649675..0ac32bc4c8 100644 --- a/src/nft/components/details/AssetPriceDetails.tsx +++ b/src/nft/components/details/AssetPriceDetails.tsx @@ -241,9 +241,7 @@ const OwnerContainer = ({ asset }: { asset: WalletAsset }) => { return ( - - {listing ? 'Your Price' : 'List for Sale'} - + {listing ? 'Your Price' : 'List for Sale'} {listing && ( @@ -300,9 +298,7 @@ const NotForSale = ({ collectionName, collectionUrl }: { collectionName: string; - - Not for sale - + Not for sale Discover similar NFTs for sale in @@ -376,9 +372,7 @@ export const AssetPriceDetails = ({ asset, collection }: AssetPriceDetailsProps) ) : isForSale ? ( - - Best Price - + Best Price diff --git a/src/nft/components/details/detailsV2/__snapshots__/DataPage.test.tsx.snap b/src/nft/components/details/detailsV2/__snapshots__/DataPage.test.tsx.snap index 894392dc58..a669dc8ce2 100644 --- a/src/nft/components/details/detailsV2/__snapshots__/DataPage.test.tsx.snap +++ b/src/nft/components/details/detailsV2/__snapshots__/DataPage.test.tsx.snap @@ -162,7 +162,7 @@ exports[`placeholder containers load 1`] = ` class="c3 c4 c8" >
Traits
@@ -179,12 +179,12 @@ exports[`placeholder containers load 1`] = ` class="c3 c4 c8" >
Description
Details
@@ -202,17 +202,17 @@ exports[`placeholder containers load 1`] = ` class="c3 c4 c8" >
Activity
Offers
Listings
diff --git a/src/nft/components/profile/list/ListPage.tsx b/src/nft/components/profile/list/ListPage.tsx index 3441f1f82f..2c4b91e056 100644 --- a/src/nft/components/profile/list/ListPage.tsx +++ b/src/nft/components/profile/list/ListPage.tsx @@ -251,7 +251,7 @@ export const ListPage = () => { } const BannerText = isMobile ? ( - + Receive ) : ( diff --git a/src/nft/components/profile/list/Modal/SuccessScreen.tsx b/src/nft/components/profile/list/Modal/SuccessScreen.tsx index b2c69a0cbf..0ab3196809 100644 --- a/src/nft/components/profile/list/Modal/SuccessScreen.tsx +++ b/src/nft/components/profile/list/Modal/SuccessScreen.tsx @@ -101,11 +101,11 @@ export const SuccessScreen = ({ overlayClick }: { overlayClick: () => void }) => ))} - + Proceeds if sold - {formatEth(totalEthListingValue)} ETH + {formatEth(totalEthListingValue)} ETH {usdcValue && ( {formatCurrencyAmount(usdcValue, NumberType.FiatTokenPrice)} diff --git a/src/nft/components/profile/view/__snapshots__/EmptyWalletContent.test.tsx.snap b/src/nft/components/profile/view/__snapshots__/EmptyWalletContent.test.tsx.snap index 21b58bd2e6..222c3dd406 100644 --- a/src/nft/components/profile/view/__snapshots__/EmptyWalletContent.test.tsx.snap +++ b/src/nft/components/profile/view/__snapshots__/EmptyWalletContent.test.tsx.snap @@ -88,7 +88,7 @@ exports[`EmptyWalletContent.tsx matches base snapshot 1`] = ` />
No NFTs yet
@@ -128,7 +128,7 @@ exports[`EmptyWalletContent.tsx matches base snapshot 1`] = ` />
No tokens yet
@@ -174,7 +174,7 @@ exports[`EmptyWalletContent.tsx matches base snapshot 1`] = ` />
No activity yet
@@ -209,7 +209,7 @@ exports[`EmptyWalletContent.tsx matches base snapshot 1`] = ` />
No pools yet
diff --git a/src/theme/components/text.tsx b/src/theme/components/text.tsx index b9c4710cfd..c015a1a7d1 100644 --- a/src/theme/components/text.tsx +++ b/src/theme/components/text.tsx @@ -53,8 +53,7 @@ export const ThemedText = { return }, SubHeader(props: TextProps) { - // @todo designs use `fontWeight: 500` and we currently have a mix of 600 and 500 - return + return }, SubHeaderSmall(props: TextProps) { return