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

MEP 02/10/23 #178

Merged
merged 143 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
6fa1668
feat: add land to profile page
irisdv Aug 14, 2023
f15913f
fix: build error
irisdv Aug 14, 2023
c2f5444
fix: build error
irisdv Aug 14, 2023
cc9c085
fix: mobile version
irisdv Aug 14, 2023
8af079a
feat: update zoom on land on mobile
irisdv Aug 14, 2023
733172e
fix: reverse zoom slider
irisdv Aug 15, 2023
6cc0890
feat: add building tooltip
irisdv Aug 15, 2023
850cc67
feat: add tooltip img + add new component Map to use raycaster
irisdv Aug 15, 2023
badeae6
feat: add member since date
irisdv Aug 15, 2023
cafeca3
feat: add raycaster
irisdv Aug 15, 2023
2ce9039
feat: add achievements page
irisdv Aug 22, 2023
1c2af00
feat: update constants solo nfts
irisdv Aug 29, 2023
abc3860
ref: refactor nft sorting & typing + fix raycaster
irisdv Aug 29, 2023
1f158d4
fix: merge conflicts with branch testnet
irisdv Aug 29, 2023
d3c3d3e
fix: add right miniatures
irisdv Aug 29, 2023
ecf4312
fix: send addr as decimal
irisdv Aug 29, 2023
b48823e
fix: bg image on achievement cards
irisdv Aug 29, 2023
723fba4
fix: remove partnerships in navbar & add footer
irisdv Aug 30, 2023
d490ceb
fix: remove white bg miniatures
irisdv Aug 30, 2023
7bb90f2
fix: remove footer for now
irisdv Aug 30, 2023
c12d56b
fix: show wallet modal on mobile
irisdv Aug 30, 2023
bd963ff
fix: requests sent twice
irisdv Aug 30, 2023
d57da53
fix: raycaster & update tooltip position on hover
irisdv Aug 30, 2023
354f110
fix: merge conflicts with branch testnet
irisdv Aug 30, 2023
a0b2ae3
ref: add new verifier in socialMediaActions
irisdv Aug 30, 2023
17a6c78
Merge pull request #138 from starknet-id/ref/add_new_verifier
fricoben Aug 30, 2023
8cde5ed
fix: build error
irisdv Aug 30, 2023
54aee7d
feat: add minitatures imgs
irisdv Aug 30, 2023
4ad3168
fix: do not show socials if theres none
irisdv Aug 30, 2023
053d8e7
fix: miniature size
irisdv Aug 30, 2023
413820e
fix: background & remove unused files
irisdv Aug 30, 2023
da780a3
fix: front details
irisdv Aug 31, 2023
5d22f72
fix: implement changes from review
irisdv Aug 31, 2023
98fb80d
fix: build error
irisdv Aug 31, 2023
9a72788
doc: add comments
irisdv Aug 31, 2023
4b61c6e
fix: remove unecessary condition
irisdv Aug 31, 2023
8671d22
fix: refactor Camera
irisdv Aug 31, 2023
dca46f5
refactor: component names
irisdv Aug 31, 2023
955ba68
fix: change filenames
irisdv Aug 31, 2023
f4bd4ba
fix: renaming component files
irisdv Aug 31, 2023
33fb9eb
fix: implement changes from review
irisdv Aug 31, 2023
991785c
fix: cleanup
irisdv Aug 31, 2023
6a10037
fix: build error
irisdv Aug 31, 2023
f7b4d7d
doc: add more comments
irisdv Sep 1, 2023
9905e03
fix: implement changes from review
irisdv Sep 1, 2023
c03f5db
fix: remove img_url in buildingsInfo type
irisdv Sep 1, 2023
60d6aa5
ref: update copy icons
irisdv Sep 1, 2023
01f2241
Merge branch 'testnet' into feat/add_land
irisdv Sep 1, 2023
cf344ef
fix: remove logs
irisdv Sep 1, 2023
e841999
ref: styles in const
irisdv Sep 1, 2023
536a04d
Merge pull request #130 from starknet-id/feat/achievements_features
fricoben Sep 5, 2023
f9b2f8f
fix revert to lower version of starkknet
irisdv Sep 6, 2023
8a4f636
fix: add flag on install
irisdv Sep 6, 2023
a26952e
Merge pull request #141 from starknet-id/fix/build_error
Th0rgal Sep 6, 2023
b9019fe
fix: merge conflicts with branch testnet
irisdv Sep 8, 2023
f83946d
fix: typings
irisdv Sep 8, 2023
13048cc
fix: build error
irisdv Sep 8, 2023
9c43493
test: add tests for utils
irisdv Sep 8, 2023
c49127a
fix: remove logs
irisdv Sep 8, 2023
a675f9b
fix: typing
irisdv Sep 8, 2023
2e9ccf6
test: add missing test
irisdv Sep 8, 2023
e808cc5
ref: enums in tiles
irisdv Sep 8, 2023
257a84a
fix: build error
irisdv Sep 11, 2023
714eda7
feat: add footer
irisdv Sep 11, 2023
e8d1f8b
fix: build error
irisdv Sep 11, 2023
815f41a
feat: add achievement skeleton
irisdv Sep 12, 2023
08ee6ad
fix: lands
irisdv Sep 12, 2023
ae59b50
fix: bg profile
irisdv Sep 12, 2023
e6535b7
fix: footer mobile
irisdv Sep 12, 2023
2255d73
fix: bg on all profile page
irisdv Sep 12, 2023
486ffbb
ref: add bg sky on profile page
irisdv Sep 13, 2023
d4d6653
fix: remove footer on profile page
irisdv Sep 13, 2023
45f9d80
fix: starkfighter building not showing
irisdv Sep 13, 2023
1ab9307
fix: typing
irisdv Sep 14, 2023
dd905bb
fix: typing + functions as components
irisdv Sep 14, 2023
94fc33e
fix: starkfighter buildings
irisdv Sep 14, 2023
c59dcb9
Merge pull request #139 from starknet-id/feat/add_land
fricoben Sep 14, 2023
4620ef7
feat: add ekubo quest imgs
irisdv Sep 15, 2023
358e925
Merge pull request #151 from starknet-id/feat/add_ekubo_quest
fricoben Sep 15, 2023
b321b82
feat: new quest page
Marchand-Nicolas Sep 16, 2023
76949d6
softer blurs
Marchand-Nicolas Sep 16, 2023
887bc2c
fixing type error
Marchand-Nicolas Sep 16, 2023
0d67a7a
cleaning the code and fixing build
Marchand-Nicolas Sep 16, 2023
dce50cf
Fixing build
Marchand-Nicolas Sep 16, 2023
0cc007f
cleaning the code
Marchand-Nicolas Sep 17, 2023
b4b43b0
fixing footer on quizzes
Marchand-Nicolas Sep 17, 2023
633331b
renaming NftImage component
Marchand-Nicolas Sep 17, 2023
7dbaafc
using a context to store quests
Marchand-Nicolas Sep 17, 2023
d8f4eb5
Using new quest route
Marchand-Nicolas Sep 17, 2023
f4645f2
Using new get_trending_quests route
Marchand-Nicolas Sep 17, 2023
8c8467f
Using separated pages insteads of components
Marchand-Nicolas Sep 17, 2023
47c185d
fix: convert hex address to decimal to support new backend
Th0rgal Sep 18, 2023
d05f0ad
Improving component name
Marchand-Nicolas Sep 18, 2023
6cb5452
Removing Home Controls
Marchand-Nicolas Sep 18, 2023
9fbba06
Merge pull request #154 from starknet-id/fix/new_backend
Th0rgal Sep 19, 2023
9c14a35
Merge pull request #153 from starknet-id/feat/new-quest-page
fricoben Sep 20, 2023
4027a56
fix: QuestsProvider
irisdv Sep 20, 2023
0935f23
fix: remove decimal to hex conversions
irisdv Sep 20, 2023
fa3d393
Merge pull request #158 from starknet-id/fix/achievements_imgs
fricoben Sep 20, 2023
adfd788
Making every quest card same height
Marchand-Nicolas Sep 20, 2023
86f805f
Merge pull request #159 from starknet-id/fix/size-of-quest-cards-are-…
fricoben Sep 20, 2023
3ded364
Feat: Change responsive navbar like on Starknet ID
Marchand-Nicolas Sep 23, 2023
bef4d13
fixing build
Marchand-Nicolas Sep 23, 2023
4370b36
Fixing twitter link
Marchand-Nicolas Sep 23, 2023
5d48305
Merge pull request #164 from starknet-id/feat/change-responsive-navba…
fricoben Sep 23, 2023
2d28c69
feat: add new quests, achievements & buildings
irisdv Sep 25, 2023
22f2e6a
fix: remove logs
irisdv Sep 26, 2023
2345da5
feat: add new achievement buildings miniature imgs
irisdv Sep 26, 2023
218c06a
fix: remove comments
irisdv Sep 26, 2023
95f1b84
fix: show land condition
irisdv Sep 26, 2023
8c539a6
fix: show addr profile as hexa
irisdv Sep 26, 2023
c6b1491
feat: navbar link hover animation
Marchand-Nicolas Sep 26, 2023
5897e45
Merge pull request #168 from starknet-id/feat/navbar-link-hover-anima…
fricoben Sep 26, 2023
c6632e1
fix: quiz and navbar
Marchand-Nicolas Sep 27, 2023
87f1790
Merge pull request #170 from starknet-id/fix/quizz-and-navbar
fricoben Sep 27, 2023
2ec1810
feat: domain popup
Marchand-Nicolas Sep 27, 2023
5bb6284
fixing build error
Marchand-Nicolas Sep 27, 2023
b451bb1
Merge branch 'testnet' into feat/domain-popup
Marchand-Nicolas Sep 27, 2023
3a4d1a7
fixing popup shown when not connected
Marchand-Nicolas Sep 27, 2023
abed21e
fix: some addr in hex instead of decimal
irisdv Sep 28, 2023
6125bee
fix: update json to fix sidewalks
irisdv Sep 29, 2023
0c1ef25
fix: use env var for task endpoints
irisdv Sep 29, 2023
7cccb52
fix: achievements cards size
irisdv Sep 29, 2023
feaf6fc
fix: refetch & verify achievements on page load
irisdv Sep 29, 2023
0199f07
dev: remove console.log
irisdv Sep 29, 2023
3dd484e
fix: discord verifyEndpoint link
irisdv Sep 29, 2023
33795a7
fix: endpoint for oauth
irisdv Sep 29, 2023
7e7b298
making requested changes
Marchand-Nicolas Sep 30, 2023
1d34c30
Showing the popup on the right page
Marchand-Nicolas Sep 30, 2023
622414a
removing popup for claim
Marchand-Nicolas Sep 30, 2023
abc4763
Merge pull request #171 from starknet-id/feat/domain-popup
fricoben Sep 30, 2023
3e883d2
fix: image quest mobile view
Marchand-Nicolas Sep 30, 2023
9d1b50c
Merge pull request #174 from starknet-id/fix/image-quest-mobile-view
fricoben Sep 30, 2023
ec3742b
feat: add bun to ignored files
Th0rgal Oct 1, 2023
bd0b28c
feat: add new discord invite link
irisdv Oct 2, 2023
0c3aa18
fix: achievements not reloading on address update
irisdv Oct 2, 2023
def996c
fix: achievement skeleton
irisdv Oct 2, 2023
447d1ca
fix; improve skeleton achievements
irisdv Oct 2, 2023
b724492
Merge pull request #167 from starknet-id/feat/implement_new_quests_sept
fricoben Oct 2, 2023
85ab075
fix: merge
fricoben Oct 2, 2023
295debc
fix: skeletons achievements + update navbar title
irisdv Oct 2, 2023
9f73cbe
fix: loading achievements
irisdv Oct 2, 2023
35391b9
Merge pull request #179 from starknet-id/feat/implement_new_quests_sept
fricoben Oct 2, 2023
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
7 changes: 7 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
"rules": {
"no-undef": "off"
}
},
{
"files": ["components/lands/*.tsx"],
"rules": {
"react/prop-types": "off",
"react/no-unknown-property": "off"
}
}
],
"root": true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
- uses: actions/checkout@v1
- name: Run Tests
run: |
npm install
npm install --legacy-peer-deps
npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
bun.lockb

# testing
/coverage
Expand Down
2 changes: 1 addition & 1 deletion components/UI/actions/clickable/clickableGithubIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ClickableGithubIcon: FunctionComponent<ClickableGithubIconProps> = ({
<div className={styles.verifiedIcon}>
<VerifiedIcon width={"18"} color={theme.palette.primary.main} />
</div>
<GithubIcon width={width} color="white" />
<GithubIcon width={width} color="#101012" />
</div>
</Tooltip>
) : null;
Expand Down
14 changes: 7 additions & 7 deletions components/UI/actions/socialmediaActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@ const SocialMediaActions: FunctionComponent<SocialMediaActionsProps> = ({
}, [identity]);

return (
<div className="flex flex-row gap-1">
<div className="flex flex-row gap-3 w-full justify-evenly">
<ClickableTwitterIcon
width="25"
width="16"
domain={identity?.domain}
twitterId={apiIdentity?.old_twitter}
twitterId={apiIdentity?.twitter ?? apiIdentity?.old_twitter}
/>
<ClickableDiscordIcon
width="25"
width="16"
domain={identity?.domain}
discordId={apiIdentity?.old_discord}
discordId={apiIdentity?.discord ?? apiIdentity?.old_discord}
/>
<ClickableGithubIcon
width="25"
width="16"
domain={identity?.domain}
githubId={apiIdentity?.old_github}
githubId={apiIdentity?.github ?? apiIdentity?.old_github}
/>
</div>
);
Expand Down
26 changes: 26 additions & 0 deletions components/UI/backButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import React, { FunctionComponent } from "react";
import styles from "../../styles/components/backButton.module.css";

type BackButtonProps = {
onClick: () => void;
};

const BackButton: FunctionComponent<BackButtonProps> = ({ onClick }) => (
<button onClick={onClick} className={styles.backButton}>
<svg
fill="none"
viewBox="0 0 24 24"
strokeWidth={1.5}
stroke="currentColor"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
d="M15.75 19.5L8.25 12l7.5-7.5"
/>
</svg>
Back
</button>
);

export default BackButton;
34 changes: 31 additions & 3 deletions components/UI/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
import React, { FunctionComponent } from "react";
import styles from "../styles/components/footer.module.css";
import styles from "../../styles/components/footer.module.css";
import Link from "next/link";
import TwitterIcon from "./iconsComponents/icons/twitterIcon";
import DiscordIcon from "./iconsComponents/icons/discordIcon";
import { useRouter } from "next/router";

const Footer: FunctionComponent = () => {
const route = useRouter().route;
if (route.includes("addressOrDomain")) return null;
return (
<div className="relative">
<div className="footer">
<footer className={styles.footer}>
Powered by&nbsp;<strong>Starknet</strong>
<div className={styles.content}>
<Link href="/partnership">Partnership</Link>
</div>
<div className={styles.socials}>
<div
className={styles.social}
onClick={() => window.open("https://twitter.com/starknet_quest")}
>
<span>
<TwitterIcon width="16" color="#101012" />
</span>
Twitter
</div>
<div
className={styles.social}
onClick={() => window.open("http://discord.gg/Td4a5wS5")}
>
<span>
<DiscordIcon width="17" color="#101012" />
</span>
Discord
</div>
</div>
</footer>
</div>
);
Expand Down
23 changes: 23 additions & 0 deletions components/UI/iconsComponents/icons/arrowRightIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React, { FunctionComponent } from "react";

const ArrowRightIcon: FunctionComponent<IconProps> = ({
width = 24,
color,
}) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={width}
height={width}
viewBox="0 0 8 14"
fill="none"
>
<path
d="M7.4781 8.21816L2.95646 12.7398C2.40575 13.2905 1.77561 13.4134 1.06606 13.1085C0.356514 12.8036 0.00115935 12.2604 -7.83539e-08 11.479L-4.69848e-07 2.52263C-5.04056e-07 1.74003 0.355354 1.19628 1.06606 0.891356C1.77677 0.586435 2.4069 0.70991 2.95646 1.26178L7.4781 5.78343C7.65201 5.95734 7.78244 6.14574 7.8694 6.34863C7.95635 6.55153 7.99983 6.76891 7.99983 7.00079C7.99983 7.23267 7.95635 7.45006 7.8694 7.65295C7.78244 7.85585 7.65201 8.04425 7.4781 8.21816Z"
fill={color}
/>
</svg>
);
};

export default ArrowRightIcon;
4 changes: 2 additions & 2 deletions components/UI/iconsComponents/icons/closeIcon.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { FunctionComponent } from "react";

const CloseIcon: FunctionComponent = () => {
const CloseIcon: FunctionComponent<IconProps> = ({ width }) => {
return (
<svg viewBox="0 0 24 24">
<svg viewBox="0 0 24 24" width={width} height={width}>
<path
strokeLinecap="round"
strokeLinejoin="round"
Expand Down
24 changes: 24 additions & 0 deletions components/UI/iconsComponents/icons/copyIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React, { FunctionComponent } from "react";

const CopyIcon: FunctionComponent<IconProps> = ({ width, color }) => {
return (
<svg
width={width}
height={width}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16 12.9V17.1C16 20.6 14.6 22 11.1 22H6.9C3.4 22 2 20.6 2 17.1V12.9C2 9.4 3.4 8 6.9 8H11.1C14.6 8 16 9.4 16 12.9Z"
fill={color}
/>
<path
d="M17.0998 2H12.8998C9.81668 2 8.37074 3.09409 8.06951 5.73901C8.00649 6.29235 8.46476 6.75 9.02167 6.75H11.0998C15.2998 6.75 17.2498 8.7 17.2498 12.9V14.9781C17.2498 15.535 17.7074 15.9933 18.2608 15.9303C20.9057 15.629 21.9998 14.1831 21.9998 11.1V6.9C21.9998 3.4 20.5998 2 17.0998 2Z"
fill={color}
/>
</svg>
);
};

export default CopyIcon;
21 changes: 21 additions & 0 deletions components/UI/iconsComponents/icons/profilFilledIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React, { FunctionComponent } from "react";

const ProfilFilledIcon: FunctionComponent<IconProps> = ({ color, width }) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 17"
width={width}
height={width}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8 16.5C12.4183 16.5 16 12.9183 16 8.5C16 4.08172 12.4183 0.5 8 0.5C3.58172 0.5 0 4.08172 0 8.5C0 12.9183 3.58172 16.5 8 16.5ZM7.99921 3.5C7.36246 3.5 6.08895 4.17422 6.08895 5.45008C6.08895 6.80914 6.74171 7.91715 7.9701 7.95732H8.0225H8.06325H8.07489C8.63596 7.95732 9.90365 6.81249 9.90947 5.45342C9.90947 4.06758 8.63596 3.5 7.99921 3.5ZM12.4571 11.6104C12.4571 13.2213 10.7993 13.0602 9.25222 12.9099C8.81224 12.8672 8.38122 12.8253 7.99983 12.8253C7.61845 12.8253 7.18742 12.8672 6.74744 12.9099C5.20037 13.0602 3.54256 13.2213 3.54256 11.6104C3.54256 10.915 4.12766 10.2518 4.7522 9.75213C6.54694 8.33111 9.46587 8.33111 11.2475 9.75213C11.8786 10.2518 12.4571 10.8157 12.4571 11.6104Z"
fill={color}
/>
</svg>
);
};

export default ProfilFilledIcon;
20 changes: 20 additions & 0 deletions components/UI/iconsComponents/icons/trophyIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import React, { FunctionComponent } from "react";

const TrophyIcon: FunctionComponent<IconProps> = ({ width, color }) => {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={width}
height={width}
viewBox="0 0 18 18"
fill="none"
>
<path
d="M5.05246 15.4284V13.9999H7.9096V11.7856C7.32627 11.6546 6.80531 11.4075 6.34674 11.0441C5.88817 10.6808 5.55198 10.2256 5.33817 9.67843C4.44531 9.57129 3.69817 9.18153 3.09674 8.50915C2.49531 7.83676 2.19484 7.04796 2.19531 6.14272V5.42843C2.19531 5.03557 2.33531 4.69915 2.61531 4.41915C2.89531 4.13915 3.2315 3.99938 3.62388 3.99986H5.05246V2.57129H12.1953V3.99986H13.6239C14.0167 3.99986 14.3532 4.13986 14.6332 4.41986C14.9132 4.69986 15.0529 5.03605 15.0525 5.42843V6.14272C15.0525 7.04748 14.7517 7.83629 14.1503 8.50915C13.5489 9.182 12.802 9.57176 11.9096 9.67843C11.6953 10.2261 11.3589 10.6815 10.9003 11.0449C10.4417 11.4082 9.92103 11.6551 9.33817 11.7856V13.9999H12.1953V15.4284H5.05246ZM5.05246 8.14272V5.42843H3.62388V6.14272C3.62388 6.5951 3.75484 7.00296 4.01674 7.36629C4.27865 7.72962 4.62388 7.98843 5.05246 8.14272ZM12.1953 8.14272C12.6239 7.98796 12.9691 7.72891 13.231 7.36557C13.4929 7.00224 13.6239 6.59462 13.6239 6.14272V5.42843H12.1953V8.14272Z"
fill={color}
/>
</svg>
);
};

export default TrophyIcon;
31 changes: 6 additions & 25 deletions components/UI/iconsComponents/icons/verifiedIcon.tsx

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions components/UI/menus/popup.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import React, { FunctionComponent } from "react";
import styles from "../../../styles/components/popup.module.css";
import Button from "../button";
import CloseIcon from "../iconsComponents/icons/closeIcon";

type PopupProps = {
title: string;
banner: string;
description: string;
buttonName: string;
onClick: () => void;
onClose?: () => void;
};

const Popup: FunctionComponent<PopupProps> = ({
title,
banner,
description,
buttonName,
onClick,
onClose,
}) => {
return (
<div className={styles.popupContainer}>
<div className={styles.popup}>
<div className={styles.titleSide}>
<h1 className={styles.title}>{title}</h1>
<img className={styles.banner} src={banner} alt="banner" />
</div>
<div className={styles.contentSide}>
<p className={styles.description}>{description}</p>
<div className={styles.button}>
<Button onClick={onClick}>{buttonName}</Button>
</div>
</div>
{onClose && (
<button onClick={onClose} className={styles.close}>
<CloseIcon width="16" />
</button>
)}
</div>
</div>
);
};

export default Popup;
2 changes: 1 addition & 1 deletion components/UI/modalWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const ModalWallet: FunctionComponent<ModalWalletProps> = ({
>
<div className={styles.menu}>
<button className={styles.menu_close} onClick={closeModal}>
<CloseIcon />
<CloseIcon width="24" />
</button>
<div className={styles.menu_title}>
<div className={styles.menu_title}>
Expand Down
Loading