Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adjust wallet-button styling + add logo-href #1411

Open
wants to merge 170 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
8ffc988
Add portfolio
oktapodia Aug 28, 2024
265372d
Merge branch 'develop' into LF-9595
oktapodia Sep 2, 2024
b2f2f63
feat: add new navigation
tcheee Sep 2, 2024
2f7f959
Add to allowlist etherscan images
oktapodia Sep 3, 2024
5df0ae8
Optimize portfolio mobile view
oktapodia Sep 3, 2024
2742cd5
Add native token
oktapodia Sep 3, 2024
cfb7a8a
Try fixing url on portfolio
oktapodia Sep 3, 2024
9207311
Revert chain url
oktapodia Sep 3, 2024
931ecbd
fix: fixing e2e tests
bojank93 Sep 3, 2024
6bb2391
Hardcode url for testing purpose
oktapodia Sep 3, 2024
c1e0cf8
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Sep 3, 2024
be81f7f
support vercel_url
oktapodia Sep 3, 2024
d43c8a3
hardcode url again
oktapodia Sep 3, 2024
372efab
Merge branch 'develop' into ft/beta-testing/1
bojank93 Sep 3, 2024
f32ddfa
Add multi accounts support
oktapodia Sep 3, 2024
810134a
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Sep 3, 2024
6b40a3b
Optimize coins filtering
oktapodia Sep 4, 2024
92a17df
Fix lint
oktapodia Sep 4, 2024
d79abfd
WIP
oktapodia Sep 4, 2024
ce0aecc
Merge branch 'develop' into ft/beta-testing/1
bojank93 Sep 4, 2024
f7b0d02
fix: fixing selectors
bojank93 Sep 4, 2024
12c3d1f
WIP
oktapodia Sep 4, 2024
b39a05e
feat: refactored settings e2e test
bojank93 Sep 4, 2024
9add3e4
Merge branch 'ft/beta-testing/1' of https://github.com/jumperexchange…
bojank93 Sep 4, 2024
e3ccc59
WIP
oktapodia Sep 4, 2024
589d5e6
Optimize + refacto + improve design and usability
oktapodia Sep 9, 2024
fadbc52
Merge branch 'develop' into ft/beta-testing/1
oktapodia Sep 9, 2024
1dc3ba6
fix lint
oktapodia Sep 9, 2024
6db84db
Add missing component
oktapodia Sep 9, 2024
9afc0f5
feat: remove superf and buy tab
tcheee Sep 13, 2024
8f68dc4
WIP
oktapodia Sep 17, 2024
17ce492
WIP
oktapodia Sep 17, 2024
08ea4c5
Fix lint
oktapodia Sep 17, 2024
216e3d8
Add new walletCard
oktapodia Sep 18, 2024
8a41d5a
Fix lint
oktapodia Sep 18, 2024
0f48680
Fix balance calculation
oktapodia Sep 18, 2024
04c0246
Add widget cache
oktapodia Sep 20, 2024
295d197
Clean + support dark theme
oktapodia Sep 20, 2024
355c626
Fix lint
oktapodia Sep 20, 2024
a5bb5ab
chore: Empty-Commit
oktapodia Sep 20, 2024
c78551f
Merge branch 'develop' into ft/beta-testing/1
oktapodia Sep 20, 2024
286f0b4
Merge branch 'develop' into ft/beta-testing/1
oktapodia Sep 20, 2024
8088437
Update yarn.lock
oktapodia Sep 20, 2024
e1e4388
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Sep 20, 2024
251b90d
Fix lint
oktapodia Sep 20, 2024
df4da51
couple of fixes
oktapodia Sep 20, 2024
00bee4d
Fix menu width
oktapodia Sep 20, 2024
35c418f
chore: disable vertical tabs on welcome-screen
dennyscode Sep 20, 2024
db96575
Refactorize lifi/widget config + add forceRefresh
oktapodia Sep 23, 2024
499e30e
Add formatNumbers helpers
oktapodia Sep 23, 2024
4689363
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Sep 23, 2024
99350e1
Merge branch 'develop' into ft/beta-testing/1
bojank93 Sep 23, 2024
8355aad
style: add hover on accordionDetails + skeletton for tokenCard
tcheee Sep 23, 2024
8058da3
chore: add typing and use expanded
tcheee Sep 23, 2024
2c8ad6f
fix: skip test for Buy tab since it does not exist
bojank93 Sep 24, 2024
62a9fc1
fix: Blur on navbar;
admsk2 Sep 25, 2024
6903034
fix: Local merge;
admsk2 Sep 25, 2024
229e184
fix: fix styling of blur navbar
tcheee Sep 27, 2024
048784e
fix: Build fix;
admsk2 Sep 27, 2024
32b3e54
fix: bar - backdrop off
tcheee Sep 27, 2024
e962b1b
Resolve comments
oktapodia Sep 27, 2024
25d2c37
chore: hide vertical tabs on welcome screen
tcheee Sep 27, 2024
80ff13c
Merge branch 'ft/beta-testing/1' of https://github.com/jumperexchange…
tcheee Sep 27, 2024
467335c
style: implement last design changes
tcheee Sep 27, 2024
036b7bd
style: implement last design changes
tcheee Sep 27, 2024
d607dd7
Remove log
oktapodia Sep 30, 2024
ac9c2df
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Sep 30, 2024
bcf1673
chore: Vertical navbar refactor; Navbar XP only desktop; (#1354)
admsk2 Sep 30, 2024
08e0eba
chore: make skeleton border smaller
tcheee Oct 1, 2024
6035fb5
style: review border and skelleton
tcheee Oct 1, 2024
21365e5
chore: make skeleton border smaller
tcheee Oct 1, 2024
57d8ef1
chore: align skeleton total balance
tcheee Oct 1, 2024
25e78bf
chore: merge develop
tcheee Oct 3, 2024
ac43f29
Add chunking getBalance alpha
oktapodia Oct 3, 2024
7c4e1d9
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 3, 2024
62a815c
Fix lint
oktapodia Oct 3, 2024
95db1b2
Remove log
oktapodia Oct 3, 2024
3bb98f9
Increase limits
oktapodia Oct 3, 2024
0b383e2
Support multi accounts
oktapodia Oct 4, 2024
c8b5024
style: review design portfolio (#1366)
tcheee Oct 4, 2024
a54fdcc
chore: add tooltip to Total Balance
dennyscode Oct 4, 2024
e6df42d
Fix sorting of tokens in portfolio
oktapodia Oct 7, 2024
8435dc0
Increase values of fetcher
oktapodia Oct 7, 2024
386b434
Merge branch 'develop' into ft/beta-testing/1
oktapodia Oct 7, 2024
da75bef
chore: increase number of skeletons
tcheee Oct 7, 2024
43988e3
chore: adjust tooltip msg
dennyscode Oct 7, 2024
88c23b8
Merge branch 'ft/beta-testing/1' into LF-10332-jumper-making-tooltip-…
dennyscode Oct 7, 2024
a9a41de
style: cursor help on tooltip icon
dennyscode Oct 7, 2024
9505796
fix: translation resources
dennyscode Oct 7, 2024
81b6313
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 7, 2024
1aa2f56
chore: add balance info tooltip on portfolio
tcheee Oct 7, 2024
2323e34
WIP
oktapodia Oct 8, 2024
3fefa98
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 8, 2024
d39a0ae
Merge branch 'develop' into ft/beta-testing/1
oktapodia Oct 8, 2024
0d5d78e
Refactorize to hook
oktapodia Oct 8, 2024
e77a0f6
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 8, 2024
08b9fb2
fix lint
oktapodia Oct 8, 2024
20e628f
fix: Missing tooltip;
admsk2 Oct 8, 2024
3bae881
fix: Effigy fallback; (#1346)
admsk2 Oct 8, 2024
a9cac27
chore: Tooltip left;
admsk2 Oct 8, 2024
57c86a1
fix: Missing tooltip;
tcheee Oct 8, 2024
b7310f5
Update and fixes
oktapodia Oct 8, 2024
fe576e3
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 8, 2024
0211453
chore: refresh icon
tcheee Oct 8, 2024
867c6e6
chore: isComplete fix
tcheee Oct 8, 2024
6252eaa
chore: review design
tcheee Oct 8, 2024
facbf7b
Add cache support
oktapodia Oct 9, 2024
f6a0087
fix: navbar blur + error fixes (#1352)
dennyscode Oct 9, 2024
172314c
Merge branch 'develop' into ft/beta-testing/1
oktapodia Oct 9, 2024
4396a87
merge develop v2
oktapodia Oct 9, 2024
2d83036
merge develop v2
oktapodia Oct 9, 2024
d8a193e
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 10, 2024
4ff6940
Remove debug
oktapodia Oct 10, 2024
8c0c30f
Avoid mutation of map
oktapodia Oct 10, 2024
cf48a1d
chore: change cutout + length of name
tcheee Oct 10, 2024
415e595
chore: open explorer working
tcheee Oct 10, 2024
1972015
chore: change icon size
tcheee Oct 10, 2024
8176460
chore: adapt points when points is undefined
tcheee Oct 10, 2024
897c26c
chore: change hover effect
tcheee Oct 10, 2024
0fbb201
Various update + total value effects
oktapodia Oct 10, 2024
73ff616
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 10, 2024
c765937
Update yarn.lock
oktapodia Oct 10, 2024
e77eae3
Fix linting
oktapodia Oct 10, 2024
6d5630b
Change increment/decrement colors
oktapodia Oct 11, 2024
db9db08
Fix multiple 0x addresses
oktapodia Oct 11, 2024
3436ef3
Add refresh when bridge/swap complete
oktapodia Oct 11, 2024
abd1e13
Support account with 0 balance
oktapodia Oct 11, 2024
49cccd3
Fix lint
oktapodia Oct 11, 2024
20147de
style: few design changes
tcheee Oct 11, 2024
bcd3d39
automatic push
tcheee Oct 11, 2024
638f154
Merge branch 'develop' into ft/beta-testing/1
chybisov Oct 11, 2024
933b730
automatic push
tcheee Oct 11, 2024
9c8b3e6
Reduce max tokens per chain to 20
oktapodia Oct 11, 2024
4659ce9
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 11, 2024
e2cd89c
fix: types
chybisov Oct 11, 2024
c4f0a5d
Fix typings
oktapodia Oct 11, 2024
d2b7bd3
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 11, 2024
fba24c2
Add debug
oktapodia Oct 11, 2024
67c6d3e
Increase max tokens fetch
oktapodia Oct 11, 2024
05d3118
Merge branch 'ft/beta-testing/1' of https://github.com/jumperexchange…
tcheee Oct 12, 2024
c5215ec
Add white background
oktapodia Oct 14, 2024
0d5ce80
Fix lint
oktapodia Oct 14, 2024
4b6d013
chore: load only top 10 tokens on first round
tcheee Oct 14, 2024
658a49e
automatic push
tcheee Oct 14, 2024
882ca4e
chore: load only top 7 tokens on first round
tcheee Oct 14, 2024
5ffe46f
fix: fix settingsMenu e2e test
bojank93 Oct 14, 2024
498f2ef
Solve few commnets
oktapodia Oct 14, 2024
c8b0f46
fix: various comments
oktapodia Oct 15, 2024
8a7153d
fix: Redundant code; (#1405)
admsk2 Oct 15, 2024
489c5ed
Upgrade lifi packages + fix styles
oktapodia Oct 15, 2024
23e18de
Merge branch 'ft/beta-testing/1' of github.com:jumperexchange/jumper-…
oktapodia Oct 15, 2024
57709e9
Merge branch 'develop' into ft/beta-testing/1
dennyscode Oct 15, 2024
3ad5e32
Fix blockchainExplorer link
oktapodia Oct 16, 2024
52ef3da
Split portfolio hook
oktapodia Oct 16, 2024
b923f88
Fix lint
oktapodia Oct 16, 2024
eea59f2
fix: add href to logo link
dennyscode Oct 16, 2024
8f265b2
style: adjust mobile view of wallet button
dennyscode Oct 16, 2024
8519224
Fix seo pages + do not cache token images
oktapodia Oct 16, 2024
6528266
chore: UI fix (#1407)
tcheee Oct 16, 2024
72d8809
Merge branch 'ft/beta-testing/1' into LF-10487-jumper-remove-open-app…
tcheee Oct 16, 2024
19c31d8
fix: multiple imports
dennyscode Oct 17, 2024
16cad9d
Merge branch 'develop' into LF-10487-jumper-remove-open-app-on-scan-o…
dennyscode Oct 17, 2024
d4ed3c8
chore: add icons on navbar buttons on mobile
dennyscode Oct 17, 2024
3ed2d4e
Merge branch 'develop' into LF-10487-jumper-remove-open-app-on-scan-o…
dennyscode Oct 18, 2024
4ee1480
Merge branch 'develop' into LF-10487-jumper-remove-open-app-on-scan-o…
dennyscode Oct 18, 2024
cf12da7
chore: remove connect-button icon
dennyscode Oct 18, 2024
e3337aa
chore: fix responsive styles on navbar buttons
dennyscode Oct 18, 2024
df2e034
refactor: media query
dennyscode Oct 18, 2024
6e42bf2
refactor: clear empty line in imports
dennyscode Oct 18, 2024
cc3b44e
Merge branch 'develop' into LF-10487-jumper-remove-open-app-on-scan-o…
tcheee Oct 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 11 additions & 30 deletions src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,65 +3,46 @@ import { usePathname, useRouter } from 'next/navigation';

import {
JUMPER_LEARN_PATH,
JUMPER_LOYALTY_PATH,
JUMPER_QUESTS_PATH,
JUMPER_SCAN_PATH,
JUMPER_TX_PATH,
JUMPER_WALLET_PATH,
} from '@/const/urls';
import { useWelcomeScreen } from '@/hooks/useWelcomeScreen';
import { useMenuStore } from '@/stores/menu';
import { useSuperfest } from 'src/hooks/useSuperfest';
import {
NavbarContainer as Container,
Logo,
LogoLink,
NavbarButtons,
NavbarTabs,
} from '.';
import { NavbarContainer as Container, Logo, LogoLink, NavbarButtons } from '.';

export const Navbar = ({ disableNavbar = false }) => {
const router = useRouter();
const pathname = usePathname();
const isLearnPage = pathname?.includes(JUMPER_LEARN_PATH);
const isLoyaltyPage = pathname?.includes(JUMPER_LOYALTY_PATH);
const isScanPage =
pathname?.includes(JUMPER_SCAN_PATH) ||
pathname?.includes(JUMPER_TX_PATH) ||
pathname?.includes(JUMPER_WALLET_PATH);
const isQuestsPage = pathname?.includes(JUMPER_QUESTS_PATH);
const { isSuperfest } = useSuperfest();
const { setWelcomeScreenClosed } = useWelcomeScreen();

const { closeAllMenus } = useMenuStore((state) => state);
const handleClick = () => {
closeAllMenus();
setWelcomeScreenClosed(false);

if (pathname === '/gas' || pathname === '/buy') {
return;
}
if (isLearnPage) {
router.push(JUMPER_LEARN_PATH);
} else if (isScanPage) {
router.push(JUMPER_SCAN_PATH);
} else {
router.push('/');
}
};

let logoHref;
if (isLearnPage) {
logoHref = JUMPER_LEARN_PATH;
} else if (isScanPage) {
logoHref = JUMPER_SCAN_PATH;
} else {
logoHref = '/';
}

return (
<Container>
<LogoLink id="jumper-logo" onClick={handleClick}>
<LogoLink href={logoHref} id="jumper-logo" onClick={handleClick}>
<Logo
variant={isScanPage ? 'scan' : isLearnPage ? 'learn' : 'default'}
/>
</LogoLink>
{/* {!isScanPage && !isLearnPage && !disableNavbar && (
<NavbarTabs
navbarPageReload={isLoyaltyPage || isSuperfest || isQuestsPage}
/>
)} */}
<NavbarButtons />
</Container>
);
Expand Down
31 changes: 31 additions & 0 deletions src/components/Navbar/NavbarButtons/RedirectToApp.style.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
'use client';

import SwapHorizIcon from '@mui/icons-material/SwapHoriz';
import { Typography } from '@mui/material';
import { styled } from '@mui/material/styles';
import { ConnectButton } from '../WalletButton.style';

export const RedirectAppButton = styled(ConnectButton)(({ theme }) => ({
[theme.breakpoints.down('md')]: {
width: 48,
minWidth: 48,
},
}));

export const RedirectAppLabel = styled(Typography)(({ theme }) => ({
display: 'none',
[theme.breakpoints.up('md')]: {
overflow: 'hidden',
textOverflow: 'ellipsis',
display: '-webkit-box',
WebkitLineClamp: 2,
WebkitBoxOrient: 'vertical',
},
}));

export const RedirectAppIcon = styled(SwapHorizIcon)(({ theme }) => ({
display: 'block',
[theme.breakpoints.up('md')]: {
display: 'none',
},
}));
22 changes: 9 additions & 13 deletions src/components/Navbar/NavbarButtons/RedirectToApp.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
'use client';
import { Typography, useTheme } from '@mui/material';
import { useTheme } from '@mui/material';
import Link from 'next/link';
import { useTranslation } from 'react-i18next';
import { TrackingAction, TrackingCategory } from 'src/const/trackingKeys';
import { useUserTracking } from 'src/hooks/userTracking';
import { ConnectButton as RedirectAppButton } from '../WalletButton.style';
import {
RedirectAppButton,
RedirectAppIcon,
RedirectAppLabel,
} from './RedirectToApp.style';

interface RedirectToAppProps {
hideConnectButton: boolean;
Expand Down Expand Up @@ -33,18 +37,10 @@ export const RedirectToApp = ({ hideConnectButton }: RedirectToAppProps) => {
...(!hideConnectButton && { marginRight: theme.spacing(1) }),
}}
>
<Typography
variant={'bodyMediumStrong'}
sx={{
overflow: 'hidden',
textOverflow: 'ellipsis',
display: '-webkit-box',
WebkitLineClamp: 2,
WebkitBoxOrient: 'vertical',
}}
>
<RedirectAppIcon />
<RedirectAppLabel variant={'bodyMediumStrong'}>
{t('blog.openApp')}
</Typography>
</RedirectAppLabel>
</RedirectAppButton>
);
};
26 changes: 24 additions & 2 deletions src/components/Navbar/WalletButton.style.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
import { ButtonPrimary } from '@/components/Button';
import { alpha, Avatar, Badge, Skeleton, styled } from '@mui/material';
import {
alpha,
Avatar,
Badge,
Skeleton,
styled,
Typography,
} from '@mui/material';
import Image from 'next/image';
import { getContrastAlphaColor } from 'src/utils/colors';
import { ButtonTransparent } from '../Button';
import { avatarMask12 } from '../Mask.style';
import Image from 'next/image';

export const WalletMgmtWalletAvatar = styled(Avatar)(() => ({
height: 32,
Expand Down Expand Up @@ -35,6 +42,14 @@ export const ConnectButton = styled(ButtonPrimary)(({ theme }) => ({
textWrap: 'nowrap',
}));

export const ConnectButtonLabel = styled(Typography)(({ theme }) => ({
display: '-webkit-box',
overflow: 'hidden',
textOverflow: 'ellipsis',
WebkitLineClamp: 2,
WebkitBoxOrient: 'vertical',
}));

export const WalletMenuButton = styled(ButtonTransparent)(({ theme }) => ({
padding: theme.spacing(1),
paddingRight: theme.spacing(1.5),
Expand Down Expand Up @@ -78,3 +93,10 @@ export const SkeletonWalletMenuButton = styled(Skeleton)(({ theme }) => ({
marginRight: 1.1,
marginLeft: 1.1,
}));

export const WalletLabel = styled(Typography)(({ theme }) => ({
display: 'block',
marginRight: theme.spacing(0.25),
marginLeft: theme.spacing(0.75),
width: 'auto',
}));
24 changes: 6 additions & 18 deletions src/components/Navbar/WalletButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ import { XPIcon } from '../illustrations/XPIcon';
import { PromoLabel } from '../PromoLabel.style';
import {
ConnectButton,
ConnectButtonLabel,
ImageWalletMenuButton,
SkeletonWalletMenuButton,
WalletLabel,
WalletMenuButton,
WalletMgmtBadge,
WalletMgmtChainAvatar,
Expand Down Expand Up @@ -72,18 +74,9 @@ export const WalletButtons = () => {
openWalletMenu();
}}
>
<Typography
variant={'bodyMediumStrong'}
sx={{
overflow: 'hidden',
textOverflow: 'ellipsis',
display: '-webkit-box',
WebkitLineClamp: 2,
WebkitBoxOrient: 'vertical',
}}
>
<ConnectButtonLabel variant={'bodyMediumStrong'}>
{t('navbar.connect')}
</Typography>
</ConnectButtonLabel>
</ConnectButton>
) : (
<Stack direction="row" spacing={2}>
Expand Down Expand Up @@ -143,14 +136,9 @@ export const WalletButtons = () => {
/>
</WalletMgmtBadge>
) : null}
<Typography
variant={'bodyMediumStrong'}
width={'auto'}
marginRight={0.25}
marginLeft={0.75}
>
<WalletLabel variant={'bodyMediumStrong'}>
{_walletDigest}
</Typography>
</WalletLabel>
</WalletMenuButton>
</Stack>
)}
Expand Down
16 changes: 5 additions & 11 deletions src/components/Portfolio/Portfolio.styles.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
import {
Accordion,
AvatarGroup,
Avatar,
Typography,
circularProgressClasses,
CircularProgress as MuiCircularProgress,
keyframes,
AvatarGroup,
Box,
darken,
Divider,
Box,
Typography,
} from '@mui/material';
import { styled } from '@mui/system';
import { lighten } from '@mui/material/styles';
import { AccordionProps } from '@mui/material/Accordion';
import SvgIcon from '@mui/material/SvgIcon/SvgIcon'; // Import AccordionProps
import { styled } from '@mui/system';

export const TotalValue = styled(Typography)(({ theme }) => ({
color: theme.palette.text.primary,
Expand Down Expand Up @@ -105,9 +101,7 @@ export const PortfolioBox = styled(Box)(({ theme }) => ({
flexDirection: 'column',
display: 'flex',
justifyContent: 'center',
padding: '16px',
paddingTop: '0px',
paddingBottom: '0px',
padding: theme.spacing(0, 2),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tcheee Tested it, seemed to work just fine for me here

}));

export const NoTokenImageBox = styled(Box)(() => ({
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useImageStatus.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState, useEffect } from 'react';
import { useEffect, useState } from 'react';
import { DEFAULT_EFFIGY } from 'src/const/urls';

const useImageStatus = (address: string | undefined) => {
Expand Down