Skip to content

Commit 3369d79

Browse files
Merge pull request #89 from StabilityNexus/Frontend
Linter fix
2 parents 6eb9161 + b05c983 commit 3369d79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/src/app/[cat]/InteractionClient.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ export default function InteractionClient() {
423423
};
424424

425425
console.log('Contract returned maxMintableAmount:', {
426-
raw: maxMintable.toString(),
426+
raw: (maxMintable as bigint).toString(),
427427
formatted: maxMintableAmountNumber,
428428
currentSupply: newTokenDetails.currentSupply,
429429
maxSupply: newTokenDetails.maxSupply,

web/src/app/create/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ const fields = [
110110
description: "Maximum supply expansion rate per year, for expansions above the supply threshold.",
111111
validate: (value: string) => ({
112112
isValid: /^\d+$/.test(value) &&
113-
parseInt(value) >= 1 &&
113+
parseInt(value) >= 0 &&
114114
parseInt(value) <= 100,
115-
errorMessage: "Expansion rate must be between 1 and 100"
115+
errorMessage: "Expansion rate must be between 0 and 100"
116116
})
117117
},
118118
];

0 commit comments

Comments
 (0)