Skip to content

Commit 99f1e4a

Browse files
committed
Update
1 parent 719338d commit 99f1e4a

File tree

6 files changed

+27
-35
lines changed

6 files changed

+27
-35
lines changed

apps/dashboard/src/components/configure-networks/Form/IconUpload.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useDashboardStorageUpload } from "@3rdweb-sdk/react/hooks/useDashboardS
44
import { useQueryClient } from "@tanstack/react-query";
55
import { FileInput } from "components/shared/FileInput";
66
import { PINNED_FILES_QUERY_KEY_ROOT } from "components/storage/your-files";
7-
import { FiUpload } from "react-icons/fi";
7+
import { UploadIcon } from "lucide-react";
88
import { toast } from "sonner";
99

1010
export const IconUpload: React.FC<{ onUpload: (url: string) => void }> = ({
@@ -50,7 +50,7 @@ export const IconUpload: React.FC<{ onUpload: (url: string) => void }> = ({
5050
{storageUpload.isPending ? (
5151
<Spinner className="size-3" />
5252
) : (
53-
<FiUpload className="size-3" />
53+
<UploadIcon className="size-3" />
5454
)}
5555
</Button>
5656
</FileInput>

apps/dashboard/src/components/hackathon/HacakthonEarnFooter.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import { Flex, Icon } from "@chakra-ui/react";
21
import { ChakraNextImage } from "components/Image";
32
import { useTrack } from "hooks/analytics/useTrack";
4-
import { WandIcon } from "lucide-react";
5-
import { FiSearch } from "react-icons/fi";
3+
import { SearchIcon, WandIcon } from "lucide-react";
64
import { Heading, LinkButton } from "tw-components";
75

86
interface HackathonEarnFooterProps {
@@ -42,12 +40,7 @@ export const HackathonEarnFooter = ({
4240
FEBRUARY 27 — MARCH 16
4341
</Heading>
4442

45-
<Flex
46-
alignItems="center"
47-
justifyContent="center"
48-
gap="20px"
49-
flexWrap="wrap"
50-
>
43+
<div className="flex flex-row flex-wrap items-center justify-center gap-5">
5144
<LinkButton
5245
href="https://hackathons.deform.cc/thirdweb"
5346
onClick={() =>
@@ -85,7 +78,7 @@ export const HackathonEarnFooter = ({
8578
h="68px"
8679
w={{ base: "90%", md: 80 }}
8780
fontSize="20px"
88-
leftIcon={<Icon as={FiSearch} />}
81+
leftIcon={<SearchIcon className="size-5" />}
8982
color="black"
9083
flexShrink={0}
9184
background="rgba(255,255,255,1)"
@@ -97,7 +90,7 @@ export const HackathonEarnFooter = ({
9790
>
9891
Submission
9992
</LinkButton>
100-
</Flex>
93+
</div>
10194
</div>
10295
);
10396
};

apps/dashboard/src/components/settings/ApiKeys/Alerts.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
IconButton,
88
} from "@chakra-ui/react";
99
import { useLocalStorage } from "hooks/useLocalStorage";
10-
import { FiX } from "react-icons/fi";
10+
import { XIcon } from "lucide-react";
1111
import { Text, TrackedLink } from "tw-components";
1212

1313
export const SmartWalletsBillingAlert = ({
@@ -66,7 +66,7 @@ export const SmartWalletsBillingAlert = ({
6666
<IconButton
6767
size="xs"
6868
aria-label="Close notice"
69-
icon={<FiX />}
69+
icon={<XIcon className="size-4" />}
7070
colorScheme="blackAlpha"
7171
color="white"
7272
variant="ghost"

apps/dashboard/src/contract-ui/tabs/nfts/components/airdrop-upload.tsx

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
Box,
66
Container,
77
Flex,
8-
Icon,
98
IconButton,
109
Link,
1110
Portal,
@@ -20,17 +19,17 @@ import {
2019
Tr,
2120
} from "@chakra-ui/react";
2221
import { Logo } from "components/logo";
23-
import { UploadIcon } from "lucide-react";
22+
import {
23+
ChevronFirstIcon,
24+
ChevronLastIcon,
25+
ChevronLeftIcon,
26+
ChevronRightIcon,
27+
CircleAlertIcon,
28+
UploadIcon,
29+
} from "lucide-react";
2430
import Papa from "papaparse";
2531
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
2632
import { type DropzoneOptions, useDropzone } from "react-dropzone";
27-
import { IoAlertCircleOutline } from "react-icons/io5";
28-
import {
29-
MdFirstPage,
30-
MdLastPage,
31-
MdNavigateBefore,
32-
MdNavigateNext,
33-
} from "react-icons/md";
3433
import { type Column, usePagination, useTable } from "react-table";
3534
import { resolveAddress } from "thirdweb/extensions/ens";
3635
import { isAddress } from "thirdweb/utils";
@@ -340,7 +339,7 @@ const AirdropTable: React.FC<AirdropTableProps> = ({ data, portalRef }) => {
340339
}
341340
>
342341
<div className="flex flex-row items-center gap-2">
343-
<Icon as={IoAlertCircleOutline} color="red.500" boxSize={5} />
342+
<CircleAlertIcon className="size-5 text-red-500" />
344343
<Text fontWeight="bold" color="red.500" cursor="default">
345344
{address}
346345
</Text>
@@ -444,13 +443,13 @@ const AirdropTable: React.FC<AirdropTableProps> = ({ data, portalRef }) => {
444443
<IconButton
445444
isDisabled={!canPreviousPage}
446445
aria-label="first page"
447-
icon={<Icon as={MdFirstPage} />}
446+
icon={<ChevronFirstIcon className="size-4" />}
448447
onClick={() => gotoPage(0)}
449448
/>
450449
<IconButton
451450
isDisabled={!canPreviousPage}
452451
aria-label="previous page"
453-
icon={<Icon as={MdNavigateBefore} />}
452+
icon={<ChevronLeftIcon className="size-4" />}
454453
onClick={() => previousPage()}
455454
/>
456455
<Text whiteSpace="nowrap">
@@ -460,13 +459,13 @@ const AirdropTable: React.FC<AirdropTableProps> = ({ data, portalRef }) => {
460459
<IconButton
461460
isDisabled={!canNextPage}
462461
aria-label="next page"
463-
icon={<Icon as={MdNavigateNext} />}
462+
icon={<ChevronRightIcon className="size-4" />}
464463
onClick={() => nextPage()}
465464
/>
466465
<IconButton
467466
isDisabled={!canNextPage}
468467
aria-label="last page"
469-
icon={<Icon as={MdLastPage} />}
468+
icon={<ChevronLastIcon className="size-4" />}
470469
onClick={() => gotoPage(pageCount - 1)}
471470
/>
472471

apps/dashboard/src/contract-ui/tabs/tokens/components/airdrop-upload-erc20.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
ChevronLastIcon,
2121
ChevronLeftIcon,
2222
ChevronRightIcon,
23-
CircleAlert,
23+
CircleAlertIcon,
2424
UploadIcon,
2525
} from "lucide-react";
2626
import Papa from "papaparse";
@@ -302,7 +302,7 @@ const AirdropTable: React.FC<AirdropTableProps> = ({ data, portalRef }) => {
302302
}
303303
>
304304
<div className="flex flex-row items-center gap-2">
305-
<CircleAlert size={16} className="text-red-500" />
305+
<CircleAlertIcon className="size-4 text-red-500" />
306306
<div className="cursor-default font-bold text-red-500">
307307
{address}
308308
</div>

apps/dashboard/src/pages/community/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { useForceDarkTheme } from "@/components/theme-provider";
2-
import { Box, Container, Flex, Icon, SimpleGrid } from "@chakra-ui/react";
2+
import { Box, Container, Flex, SimpleGrid } from "@chakra-ui/react";
33
import { ChakraNextImage } from "components/Image";
44
import { CommunityCard } from "components/community/CommunityCard";
55
import { HomepageFooter } from "components/footer/Footer";
66
import { Aurora } from "components/homepage/Aurora";
77
import { HomepageTopNav } from "components/product-pages/common/Topnav";
88
import { useTrack } from "hooks/analytics/useTrack";
9+
import { ZapIcon } from "lucide-react";
910
import { NextSeo } from "next-seo";
1011
import { PageId } from "page-id";
11-
import { BsLightningCharge } from "react-icons/bs";
1212
import { Heading, LinkButton, Text } from "tw-components";
1313
import type { ThirdwebNextPage } from "utils/types";
1414

@@ -162,7 +162,7 @@ const Community: ThirdwebNextPage = () => {
162162
}}
163163
color="#000"
164164
fontSize="larger"
165-
leftIcon={<Icon as={BsLightningCharge} />}
165+
leftIcon={<ZapIcon className="size-4" />}
166166
isExternal
167167
noIcon
168168
>
@@ -346,7 +346,7 @@ const Community: ThirdwebNextPage = () => {
346346
}}
347347
color="#000"
348348
fontSize="larger"
349-
leftIcon={<Icon as={BsLightningCharge} />}
349+
leftIcon={<ZapIcon className="size-4" />}
350350
isExternal
351351
noIcon
352352
>

0 commit comments

Comments
 (0)