Skip to content

Commit

Permalink
update: prettier code format
Browse files Browse the repository at this point in the history
  • Loading branch information
abdegenius committed Dec 13, 2024
1 parent 353ec51 commit 75ce1d9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/nextjs/utils/scaffold-stark/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 75ce1d9

Please sign in to comment.