diff --git a/components/NewInactivityNotice.tsx b/components/NewInactivityNotice.tsx index b252c16..caaa69b 100644 --- a/components/NewInactivityNotice.tsx +++ b/components/NewInactivityNotice.tsx @@ -36,7 +36,7 @@ export default function (props: { async function submit() { setLoading(true); const start = (document.getElementById("start") as HTMLInputElement).value; - const end = (document.getElementById("start") as HTMLInputElement).value; + const end = (document.getElementById("end") as HTMLInputElement).value; const reason = (document.getElementById("reason") as HTMLTextAreaElement) .value;