Skip to content

Commit d0f97ed

Browse files
committed
Update
1 parent 687a733 commit d0f97ed

File tree

7 files changed

+10
-19
lines changed

7 files changed

+10
-19
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { Tooltip } from "@chakra-ui/react";
1+
import { ToolTipLabel } from "@/components/ui/tooltip";
22
import { Badge, type BadgeProps } from "tw-components";
33

44
export const OpenSeaPropertyBadge: React.FC<BadgeProps> = (props) => {
55
return (
6-
<Tooltip label="This property is supported on OpenSea">
6+
<ToolTipLabel label="This property is supported on OpenSea">
77
<Badge
88
{...props}
99
borderRadius="full"
@@ -12,6 +12,6 @@ export const OpenSeaPropertyBadge: React.FC<BadgeProps> = (props) => {
1212
>
1313
OpenSea
1414
</Badge>
15-
</Tooltip>
15+
</ToolTipLabel>
1616
);
1717
};

apps/dashboard/src/components/connect/ConnectPlaygroundButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Icon } from "@chakra-ui/react";
21
import { JavaScriptIcon } from "components/icons/brand-icons/JavaScriptIcon";
32
import { ReactIcon } from "components/icons/brand-icons/ReactIcon";
43
import { UnityIcon } from "components/icons/brand-icons/UnityIcon";
@@ -48,7 +47,7 @@ const ConnectPlaygroundButton = ({
4847

4948
return (
5049
<Button
51-
leftIcon={<Icon as={logo.icon} fill={logo.fill} />}
50+
leftIcon={<logo.icon className="size-4" fill={logo.fill} />}
5251
border="1px solid transparent"
5352
variant="solid"
5453
fontWeight="normal"

apps/dashboard/src/components/ipfs-upload/button.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { Icon } from "@chakra-ui/react";
21
import type { UseMutationResult } from "@tanstack/react-query";
32
import { FileInput } from "components/shared/FileInput";
43
import { useErrorHandler } from "contexts/error-handler";
5-
import { FiUpload } from "react-icons/fi";
4+
import { UploadIcon } from "lucide-react";
65
import { Button, type ButtonProps } from "tw-components";
76
import type { ComponentWithChildren } from "types/component-with-children";
87

@@ -32,7 +31,7 @@ export const IpfsUploadButton: ComponentWithChildren<IpfsUploadButtonProps> = ({
3231
size="sm"
3332
variant="solid"
3433
aria-label="Upload to IPFS"
35-
rightIcon={<Icon as={FiUpload} />}
34+
rightIcon={<UploadIcon className="size-4" />}
3635
isLoading={storageUpload.isPending}
3736
{...buttonProps}
3837
>

apps/dashboard/src/components/product-pages/common/CodeOptionButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Icon } from "@chakra-ui/react";
21
import { JavaScriptIcon } from "components/icons/brand-icons/JavaScriptIcon";
32
import { ReactIcon } from "components/icons/brand-icons/ReactIcon";
43
import { UnityIcon } from "components/icons/brand-icons/UnityIcon";
@@ -48,7 +47,7 @@ export const CodeOptionButton: React.FC<CodeOptionButtonProps> = ({
4847

4948
return (
5049
<Button
51-
leftIcon={<Icon as={logo.icon} fill={logo.fill} />}
50+
leftIcon={<logo.icon className="size-4" fill={logo.fill} />}
5251
border="1px solid transparent"
5352
variant="solid"
5453
fontWeight="normal"

apps/dashboard/src/components/product-pages/common/ProductButton.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { Icon } from "@chakra-ui/react";
21
import { useTrack } from "hooks/analytics/useTrack";
3-
import { BsFillLightningChargeFill } from "react-icons/bs";
2+
import { ZapIcon } from "lucide-react";
43
import {
54
type ButtonProps,
65
LinkButton,
@@ -11,22 +10,18 @@ interface GeneralCtaProps extends Omit<LinkButtonProps, "href"> {
1110
title: string;
1211
href: string;
1312
size?: ButtonProps["size"];
14-
iconColor?: string;
1513
}
1614

1715
export const ProductButton: React.FC<GeneralCtaProps> = ({
1816
title,
1917
href,
20-
iconColor = "yellow.400",
2118
...props
2219
}) => {
2320
const trackEvent = useTrack();
2421

2522
return (
2623
<LinkButton
27-
leftIcon={
28-
<Icon as={BsFillLightningChargeFill} color={iconColor} boxSize={4} />
29-
}
24+
leftIcon={<ZapIcon className="size-4 fill-black" />}
3025
w="full"
3126
py="24px"
3227
onClick={() =>

apps/dashboard/src/contract-ui/components/solidity-inputs/string-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const SolidityStringInput: React.FC<SolidityInputWithTypeProps> = ({
4040
onChange={handleChange}
4141
/>
4242
{showButton && (
43-
<InputRightElement mx={1} width={{ base: "75px", md: "145px" }}>
43+
<InputRightElement mx={1} width={{ base: "75px", md: "160px" }}>
4444
<IpfsUploadButton
4545
onUpload={(uri) => {
4646
if (functionName) {

apps/dashboard/src/pages/template/[id].tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,6 @@ const TemplatePage: ThirdwebNextPage = (props: TemplatePageProps) => {
574574
fontSize="14px"
575575
lineHeight="20px"
576576
fontWeight={600}
577-
iconColor="blackAlpha.900"
578577
/>
579578
<LinkButton
580579
as={TrackedLink}

0 commit comments

Comments
 (0)