@@ -146,7 +146,7 @@ export default function Center() {
theme="outline"
type="button"
className="h-10 w-10 border border-gray-200 rounded-sm flex items-center justify-center text-lg"
- onClick={() => form.setValue('quota', Math.max(2_000, Number(field.value) - 1_000))}
+ onClick={() => form.setValue('daily_limit', Math.max(2_000, Number(field.value) - 1_000))}
disabled={Number(field.value) === 2_000}>
@@ -162,7 +162,7 @@ export default function Center() {
theme="outline"
type="button"
className="h-10 w-10 border border-gray-200 rounded-sm flex items-center justify-center text-lg"
- onClick={() => form.setValue('quota', Number(field.value) + 1_000)}>
+ onClick={() => form.setValue('daily_limit', Number(field.value) + 1_000)}>
diff --git a/src/components/composites/purchase/short/right.tsx b/src/components/composites/purchase/short/right.tsx
index 5c26af8..547bd77 100644
--- a/src/components/composites/purchase/short/right.tsx
+++ b/src/components/composites/purchase/short/right.tsx
@@ -24,6 +24,7 @@ export default function Right() {
const mode = useWatch({control, name: 'type'})
const expire = useWatch({control, name: 'expire'})
const quota = useWatch({control, name: 'quota'})
+ const dailyLimit = useWatch({control, name: 'daily_limit'})
const [price, setPrice] = useState