diff --git a/components/collections/actions/actions.ts b/components/collections/actions/actions.ts index e7d44ab..05c4c7e 100644 --- a/components/collections/actions/actions.ts +++ b/components/collections/actions/actions.ts @@ -1,3 +1,5 @@ +/* eslint-disable eslint-comments/disable-enable-pair */ + import { useBaseMinterContract } from 'contracts/baseMinter' import type { CollectionInfo, SG721Instance } from 'contracts/sg721' import { useSG721Contract } from 'contracts/sg721' diff --git a/components/collections/creation/CollectionDetails.tsx b/components/collections/creation/CollectionDetails.tsx index 2dd528a..22691d9 100644 --- a/components/collections/creation/CollectionDetails.tsx +++ b/components/collections/creation/CollectionDetails.tsx @@ -4,6 +4,7 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ import clsx from 'clsx' +import { Conditional } from 'components/Conditional' import { FormControl } from 'components/FormControl' import { FormGroup } from 'components/FormGroup' import { useInputState } from 'components/forms/FormInput.hooks' @@ -12,6 +13,7 @@ import { Tooltip } from 'components/Tooltip' import type { ChangeEvent } from 'react' import { useEffect, useRef, useState } from 'react' import { toast } from 'react-hot-toast' +import { SG721_UPDATABLE_CODE_ID } from 'utils/constants' import { TextInput } from '../../forms/FormInput' import type { MinterType } from '../actions/Combobox' @@ -241,36 +243,38 @@ export const CollectionDetails = ({ onChange, uploadMethod, coverImageUrl, minte - - - ℹ️ When enabled, the metadata for tokens can be updated after the collection is created until the - collection is frozen by the creator. - - - } - placement="bottom" - > -
0}> + + + ℹ️ When enabled, the metadata for tokens can be updated after the collection is created until the + collection is frozen by the creator. + +
+ } + placement="bottom" > - - -
+
+ +
+ + )