Skip to content

Commit 83a8dad

Browse files
rrwang7Convex, Inc.
authored andcommitted
fix spending limits check for current spend (#35880)
GitOrigin-RevId: c13cb86e1a731df0ce5d247f8d6f0fb752fa62c9
1 parent 4c0ac1a commit 83a8dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm-packages/dashboard/src/components/billing/SpendingLimits.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function spendingLimitsSchema({
5757
(value) =>
5858
currentSpending === undefined ||
5959
value === null ||
60-
currentSpending.totalCents <= value,
60+
currentSpending.totalCents <= value * 100,
6161
);
6262

6363
return Yup.object().shape({

0 commit comments

Comments
 (0)