Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 50ff6bc

Browse files
authored
Update utils.js
1 parent c3aac43 commit 50ff6bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/JobForm/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const EDIT_JOB_ROWS = [
2727
];
2828

2929
const validateDuration = (x, y, {duration}) => {
30-
if (duration === undefined) return undefined;
30+
if (!duration) return undefined;
3131
const converted = Number(duration);
3232

3333
if (isNaN(converted) || converted < MIN_DURATION) {

0 commit comments

Comments
 (0)