Skip to content

Commit ed70f00

Browse files
committed
eslint fix
1 parent cbde03b commit ed70f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/ui/AccessCodeForm/AccessCodeForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function Content({
8080
}
8181

8282
const start = startDate.toISO()
83-
if (start == null) {
83+
if (start == null || start === undefined) {
8484
throw new Error(`Invalid start date: ${startDate.invalidReason}`)
8585
}
8686

0 commit comments

Comments
 (0)