Skip to content

Commit

Permalink
remove create symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
luloxi committed Sep 27, 2024
1 parent f797680 commit 7d80b10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
3 changes: 0 additions & 3 deletions packages/nextjs/app/create/Create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const Create: NextPage = () => {
const [yourJSON, setYourJSON] = useState<object>({});
const [uploadedImageIpfsPath, setUploadedImageIpfsPath] = useState(""); // NEW: For image IPFS path
const [descriptionVisible, setDescriptionVisible] = useState(true);
// const [enableDebug, setEnableDebug] = useState(false);

useEffect(() => {
const savedVisibility = localStorage.getItem("CreateDescriptionVisible");
Expand Down Expand Up @@ -79,8 +78,6 @@ export const Create: NextPage = () => {
<MetadataForm
collectionName={collectionName}
setCollectionName={setCollectionName}
collectionSymbol={collectionSymbol}
setCollectionSymbol={setCollectionSymbol}
description={description}
setDescription={setDescription}
animationUrl={animationUrl}
Expand Down
10 changes: 1 addition & 9 deletions packages/nextjs/app/create/_components/MetadataForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { InputBase } from "~~/components/scaffold-eth";
interface MetadataFormProps {
collectionName: string;
setCollectionName: (name: string) => void;
collectionSymbol: string;
setCollectionSymbol: (symbol: string) => void;
description: string;
setDescription: (desc: string) => void;
animationUrl: string;
Expand All @@ -15,8 +13,6 @@ interface MetadataFormProps {
export const MetadataForm: React.FC<MetadataFormProps> = ({
collectionName,
setCollectionName,
collectionSymbol,
setCollectionSymbol,
description,
setDescription,
animationUrl,
Expand All @@ -31,11 +27,7 @@ export const MetadataForm: React.FC<MetadataFormProps> = ({
<InputBase placeholder="Picca Who?" value={collectionName} onChange={setCollectionName} />
</div>

<div className="flex flex-row gap-2 my-4 items-center">
<strong>Symbol</strong>
<span className="text-red-500">*</span>
<InputBase placeholder="PW" value={collectionSymbol} onChange={setCollectionSymbol} />
</div>
<div className="flex flex-row gap-2 my-4 items-center"></div>

<div className="break-words">
<strong>
Expand Down

0 comments on commit 7d80b10

Please sign in to comment.