@@ -126,7 +126,7 @@ const StepIndicator = ({
126126 ? "bg-primary text-primary-foreground"
127127 : currentStep > step
128128 ? "bg-primary/20 text-primary"
129- : "bg-muted text-muted-foreground" ,
129+ : "bg-muted text-muted-foreground"
130130 ) }
131131 >
132132 { currentStep > step ? (
@@ -214,7 +214,7 @@ export const AirdropUpload: React.FC<AirdropUploadProps> = ({
214214 address : o . resolvedAddress || o . address ,
215215 quantity : o . quantity ,
216216 isValid : o . isValid ,
217- } ) ) ,
217+ } ) )
218218 ) ;
219219 onClose ( ) ;
220220 } ;
@@ -287,7 +287,7 @@ export const AirdropUpload: React.FC<AirdropUploadProps> = ({
287287 < div
288288 className = { cn (
289289 "flex h-full cursor-pointer items-center justify-center rounded-md border border-border hover:border-primary" ,
290- noCsv ? "bg-red-200" : "bg-background" ,
290+ noCsv ? "bg-red-200" : "bg-background"
291291 ) }
292292 { ...getRootProps ( ) }
293293 >
@@ -548,7 +548,7 @@ export default function CreateTokenPage() {
548548 if ( ! tokenInfo || ! advancedOptions || ! activeAccount || ! thirdwebClient ) {
549549 toast . error ( "Missing required information. Please check your inputs." ) ;
550550 setErrorMessage (
551- "Missing required information. Please check all form fields and try again." ,
551+ "Missing required information. Please check all form fields and try again."
552552 ) ;
553553 setErrorStep ( "preparation" ) ;
554554 return ;
@@ -645,7 +645,7 @@ export default function CreateTokenPage() {
645645 const imageFile = await fetch (
646646 typeof tokenInfo . image === "string"
647647 ? tokenInfo . image
648- : URL . createObjectURL ( tokenInfo . image as Blob ) ,
648+ : URL . createObjectURL ( tokenInfo . image as Blob )
649649 ) . then ( ( r ) => r . blob ( ) ) ;
650650
651651 // Convert Blob to File with a name
@@ -678,7 +678,7 @@ export default function CreateTokenPage() {
678678
679679 // Calculate claim conditions parameters
680680 const totalSupplyBigInt = BigInt (
681- Math . floor ( Number . parseFloat ( totalSupply ) * 10 ** decimals ) ,
681+ Math . floor ( Number . parseFloat ( totalSupply ) * 10 ** decimals )
682682 ) ;
683683 let saleSupply = 0n ;
684684 let salePrice = 0 ;
@@ -689,8 +689,8 @@ export default function CreateTokenPage() {
689689 ( ( Number . parseFloat ( totalSupply ) *
690690 Number . parseFloat ( advancedOptions . saleSupply ) ) /
691691 100 ) *
692- 10 ** decimals ,
693- ) ,
692+ 10 ** decimals
693+ )
694694 ) ;
695695 salePrice = Number . parseFloat ( advancedOptions . salePrice ) ;
696696 }
@@ -705,7 +705,7 @@ export default function CreateTokenPage() {
705705 platform_fee_recipient :
706706 advancedOptions . platformFeeRecipient || activeAccount . address ,
707707 platform_fee_basis_points : Number . parseInt (
708- advancedOptions . platformFeeBps || "250" ,
708+ advancedOptions . platformFeeBps || "250"
709709 ) ,
710710 } ;
711711
@@ -820,18 +820,18 @@ export default function CreateTokenPage() {
820820 try {
821821 setDeploymentStatus ( "Minting Tokens to Owner..." ) ;
822822 console . log (
823- `Minting ${ mintPercentage } % of tokens to owner's wallet...` ,
823+ `Minting ${ mintPercentage } % of tokens to owner's wallet...`
824824 ) ;
825825
826826 // Calculate total tokens to mint based on percentage and total supply
827827 const mintTokenAmount = BigInt (
828828 Math . floor (
829- ( Number . parseFloat ( totalSupply ) * mintPercentage ) / 100 ,
830- ) ,
829+ ( Number . parseFloat ( totalSupply ) * mintPercentage ) / 100
830+ )
831831 ) ;
832832
833833 console . log (
834- `Minting ${ mintTokenAmount } tokens to ${ activeAccount . address } ` ,
834+ `Minting ${ mintTokenAmount } tokens to ${ activeAccount . address } `
835835 ) ;
836836
837837 const claimTransaction = claimTo ( {
@@ -856,7 +856,7 @@ export default function CreateTokenPage() {
856856 transactionHash : mintTx . transactionHash ,
857857 } ) ;
858858 console . log (
859- `Successfully minted ${ mintTokenAmount } tokens to owner's wallet` ,
859+ `Successfully minted ${ mintTokenAmount } tokens to owner's wallet`
860860 ) ;
861861 } catch ( confirmError ) {
862862 const errorMsg = `Failed to confirm token mint: ${ confirmError instanceof Error ? confirmError . message : "Unknown error" } ` ;
@@ -876,10 +876,10 @@ export default function CreateTokenPage() {
876876 if ( airdropSupplyPercentage > 0 && airdropAddresses . length > 0 ) {
877877 try {
878878 setDeploymentStatus (
879- `Airdropping to ${ airdropAddresses . length } Addresses...` ,
879+ `Airdropping to ${ airdropAddresses . length } Addresses...`
880880 ) ;
881881 console . log (
882- `Airdropping to ${ airdropAddresses . length } addresses...` ,
882+ `Airdropping to ${ airdropAddresses . length } addresses...`
883883 ) ;
884884
885885 // Calculate the total token amount for airdrop based on percentage
@@ -892,7 +892,7 @@ export default function CreateTokenPage() {
892892 const totalQuantities = airdropAddresses . reduce (
893893 ( sum , address ) =>
894894 sum + Number . parseFloat ( address . quantity || "1" ) ,
895- 0 ,
895+ 0
896896 ) ;
897897
898898 // Then, calculate each recipient's token amount based on their proportion
@@ -901,7 +901,7 @@ export default function CreateTokenPage() {
901901 Number . parseFloat ( address . quantity || "1" ) /
902902 totalQuantities ;
903903 const amount = BigInt (
904- Math . floor ( totalAirdropTokens * proportion ) ,
904+ Math . floor ( totalAirdropTokens * proportion )
905905 ) ;
906906 return {
907907 to : address . address ,
@@ -931,10 +931,10 @@ export default function CreateTokenPage() {
931931 transactionHash : airdropTx . transactionHash ,
932932 } ) ;
933933 console . log (
934- `Successfully airdropped tokens to ${ airdropAddresses . length } addresses` ,
934+ `Successfully airdropped tokens to ${ airdropAddresses . length } addresses`
935935 ) ;
936936 toast . success (
937- `Successfully airdropped tokens to ${ airdropAddresses . length } addresses` ,
937+ `Successfully airdropped tokens to ${ airdropAddresses . length } addresses`
938938 ) ;
939939 } catch ( confirmError ) {
940940 const errorMsg = `Failed to confirm airdrop: ${ confirmError instanceof Error ? confirmError . message : "Unknown error" } ` ;
@@ -1115,7 +1115,7 @@ export default function CreateTokenPage() {
11151115 onSwitchChain = { ( chain ) => {
11161116 tokenInfoForm . setValue (
11171117 "chain" ,
1118- chain . chainId ?. toString ( ) || "" ,
1118+ chain . chainId ?. toString ( ) || ""
11191119 ) ;
11201120 } }
11211121 />
@@ -1190,7 +1190,7 @@ export default function CreateTokenPage() {
11901190 if (
11911191 checked &&
11921192 Number . parseFloat (
1193- advancedOptionsForm . watch ( "saleSupply" ) ,
1193+ advancedOptionsForm . watch ( "saleSupply" )
11941194 ) === 0
11951195 ) {
11961196 advancedOptionsForm . setValue ( "saleSupply" , "10" ) ;
@@ -1228,7 +1228,7 @@ export default function CreateTokenPage() {
12281228 onChange = { ( e ) => {
12291229 advancedOptionsForm . setValue (
12301230 "saleSupply" ,
1231- e . target . value ,
1231+ e . target . value
12321232 ) ;
12331233 setLastUpdatedField ( "saleSupply" ) ;
12341234 } }
@@ -1271,7 +1271,7 @@ export default function CreateTokenPage() {
12711271 onChange = { ( e ) => {
12721272 advancedOptionsForm . setValue (
12731273 "ownerSupply" ,
1274- e . target . value ,
1274+ e . target . value
12751275 ) ;
12761276 setLastUpdatedField ( "ownerSupply" ) ;
12771277 } }
@@ -1294,7 +1294,7 @@ export default function CreateTokenPage() {
12941294 onChange = { ( e ) => {
12951295 advancedOptionsForm . setValue (
12961296 "airdropSupply" ,
1297- e . target . value ,
1297+ e . target . value
12981298 ) ;
12991299 setLastUpdatedField ( "airdropSupply" ) ;
13001300 } }
@@ -1476,7 +1476,7 @@ export default function CreateTokenPage() {
14761476 < SolidityInput
14771477 solidityType = "address"
14781478 { ...advancedOptionsForm . register (
1479- "primarySaleAddress" ,
1479+ "primarySaleAddress"
14801480 ) }
14811481 />
14821482 </ FormFieldSetup >
@@ -1502,7 +1502,7 @@ export default function CreateTokenPage() {
15021502 < SolidityInput
15031503 solidityType = "address"
15041504 { ...advancedOptionsForm . register (
1505- "platformFeeRecipient" ,
1505+ "platformFeeRecipient"
15061506 ) }
15071507 />
15081508 </ FormFieldSetup >
@@ -1518,15 +1518,15 @@ export default function CreateTokenPage() {
15181518 >
15191519 < BasisPointsInput
15201520 value = { Number (
1521- advancedOptionsForm . watch ( "platformFeeBps" ) ,
1521+ advancedOptionsForm . watch ( "platformFeeBps" )
15221522 ) }
15231523 onChange = { ( value ) =>
15241524 advancedOptionsForm . setValue (
15251525 "platformFeeBps" ,
15261526 value . toString ( ) ,
15271527 {
15281528 shouldTouch : true ,
1529- } ,
1529+ }
15301530 )
15311531 }
15321532 />
@@ -1565,15 +1565,15 @@ export default function CreateTokenPage() {
15651565 >
15661566 < BasisPointsInput
15671567 value = { Number (
1568- advancedOptionsForm . watch ( "royaltyBps" ) ,
1568+ advancedOptionsForm . watch ( "royaltyBps" )
15691569 ) }
15701570 onChange = { ( value ) =>
15711571 advancedOptionsForm . setValue (
15721572 "royaltyBps" ,
15731573 value . toString ( ) ,
15741574 {
15751575 shouldTouch : true ,
1576- } ,
1576+ }
15771577 )
15781578 }
15791579 />
@@ -1798,7 +1798,7 @@ export default function CreateTokenPage() {
17981798 type = "button"
17991799 className = { cn (
18001800 "bg-primary hover:bg-primary/90" ,
1801- errorStep && "bg-red-500 hover:bg-red-600" ,
1801+ errorStep && "bg-red-500 hover:bg-red-600"
18021802 ) }
18031803 onClick = { deployToken }
18041804 disabled = { isDeploying }
0 commit comments