Skip to content

Commit 293d0c4

Browse files
committed
updates
1 parent 5bad90c commit 293d0c4

File tree

19 files changed

+52
-48
lines changed

19 files changed

+52
-48
lines changed

apps/dashboard/src/@/components/blocks/multi-step-status/multi-step-status.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export function MultiStepStatus<T extends string>(props: {
5757
{step.label}
5858
</p>
5959

60+
{/* show description when this step is active */}
6061
{(step.status.type === "pending" ||
6162
step.status.type === "error") &&
6263
step.description && (

apps/dashboard/src/@/components/ui/decimal-input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export function DecimalInput(props: {
1313
id={props.id}
1414
type="text"
1515
value={props.value}
16-
placeholder={props.placeholder}
1716
className={props.className}
1817
inputMode="decimal"
18+
placeholder={props.placeholder}
1919
disabled={props.disabled}
2020
onChange={(e) => {
2121
const number = Number(e.target.value);

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/FaucetButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ import {
4949
useSwitchActiveWalletChain,
5050
useWalletBalance,
5151
} from "thirdweb/react";
52+
import { parseError } from "utils/errorParser";
5253
import { z } from "zod";
53-
import { parseError } from "../../../../../../../../utils/errorParser";
5454

5555
function formatTime(seconds: number) {
5656
const rtf = new Intl.RelativeTimeFormat("en", { numeric: "auto" });

apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/modules/components/nft/NFTMediaFormGroup.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ type NFTMediaFormGroupValues = {
1111
external_url?: NFTInput["external_url"];
1212
};
1313

14-
// TODO - use this
1514
export function NFTMediaFormGroup<T extends NFTMediaFormGroupValues>(props: {
1615
form: UseFormReturn<T>;
1716
previewMaxWidth?: string;

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/assets/cards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function Cards(props: {
3939
/>
4040

4141
<CardLink
42-
title="Create NFT"
42+
title="Create NFT Collection"
4343
description="Launch your own NFT collection"
4444
href={`/team/${props.teamSlug}/${props.projectSlug}/assets/create/nft`}
4545
icon={ImagesIcon}

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/assets/create/_common/PageHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function CreateAssetPageHeader(props: {
1818
}) {
1919
return (
2020
<div className="border-b">
21-
<div className="border-b py-3">
21+
<div className="border-b border-dashed py-3">
2222
<Breadcrumb className={props.containerClassName}>
2323
<BreadcrumbList>
2424
<BreadcrumbItem>

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/assets/create/_common/download-file-button.tsx

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,3 @@ export function DownloadFileButton(props: {
3838
</Button>
3939
);
4040
}
41-
42-
export function DownloadFileLink(props: {
43-
fileContent: string;
44-
fileNameWithExtension: string;
45-
fileFormat: "text/csv" | "application/json";
46-
label: string;
47-
}) {
48-
return (
49-
<Button
50-
variant="link"
51-
className="h-auto p-0 font-normal text-base underline decoration-muted-foreground/50 decoration-dotted underline-offset-[5px] hover:text-foreground hover:decoration-foreground"
52-
onClick={() => {
53-
handleDownload({
54-
fileContent: props.fileContent,
55-
fileNameWithExtension: props.fileNameWithExtension,
56-
fileFormat: props.fileFormat,
57-
});
58-
}}
59-
>
60-
{props.label}
61-
</Button>
62-
);
63-
}
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ export function FilePreview(props: {
1515
if (props.file) {
1616
const url = URL.createObjectURL(props.file);
1717
setObjectUrl(url);
18-
return () => URL.revokeObjectURL(url);
18+
return () => {
19+
URL.revokeObjectURL(url);
20+
};
1921
} else {
2022
setObjectUrl("");
2123
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Button } from "@/components/ui/button";
22
import { useTrack } from "hooks/analytics/useTrack";
33
import { ArrowLeftIcon, ArrowRightIcon } from "lucide-react";
4-
import { getStepCardTrackingData } from "./tracking";
4+
import { getStepCardTrackingData } from "../tracking";
55

66
export function StepCard(props: {
77
title: string;

apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/assets/create/distribution/token-distribution.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import { Form } from "@/components/ui/form";
99
import { Input } from "@/components/ui/input";
1010
import type { ThirdwebClient } from "thirdweb";
11-
import { StepCard } from "../create-token-card";
11+
import { StepCard } from "../_common/step-card";
1212
import type {
1313
TokenDistributionForm,
1414
TokenDistributionFormValues,

0 commit comments

Comments
 (0)