diff --git a/web/pages/create.tsx b/web/pages/create.tsx
index 64fdaa3c..f825cd38 100644
--- a/web/pages/create.tsx
+++ b/web/pages/create.tsx
@@ -97,6 +97,7 @@ export function NewContract(props: { question: string; tag?: string }) {
const [isSubmitting, setIsSubmitting] = useState(false)
const closeTime = closeDate ? dayjs(closeDate).valueOf() : undefined
+ const resolutionTime = resolutionDate ? dayjs(resolutionDate).valueOf() : undefined
const balance = creator?.balance || 0
@@ -152,6 +153,8 @@ export function NewContract(props: { question: string; tag?: string }) {
tags: category ? [category] : undefined,
min,
max,
+ automaticResolution,
+ resolutionTime
})
)
await router.push(contractPath(result as Contract))
@@ -372,72 +375,76 @@ export function NewContract(props: { question: string; tag?: string }) {
)}
-