From 75ce1d9d565e7bf8f88183ddb3cc7b7a16a0d6be Mon Sep 17 00:00:00 2001 From: abdegenius Date: Fri, 13 Dec 2024 06:53:28 +0100 Subject: [PATCH] update: prettier code format --- packages/nextjs/utils/scaffold-stark/contract.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/nextjs/utils/scaffold-stark/contract.ts b/packages/nextjs/utils/scaffold-stark/contract.ts index 2ecc0b29..e2965493 100644 --- a/packages/nextjs/utils/scaffold-stark/contract.ts +++ b/packages/nextjs/utils/scaffold-stark/contract.ts @@ -472,10 +472,7 @@ const decodeParamsWithType = (paramType: string, param: any): unknown => { ? "false" : "true"; } else if (isCairoBytes31(paramType)) { - return tryParsingParamReturnObject( - (x: bigint) => feltToHex(x), - param, - ); + return tryParsingParamReturnObject((x: bigint) => feltToHex(x), param); } else if (isCairoInt(paramType)) { return tryParsingParamReturnObject( (x) => (typeof x === "bigint" ? Number(x) : parseInt(x, 16)),