Skip to content

Commit bb10f8b

Browse files
committed
Allow empty check-in codes
1 parent 5b026b9 commit bb10f8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ui/FancyInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const FancyInput: FC<FancyInputProps> = ({
2727
onPaste={(e) => e.preventDefault()}
2828
onChange={(e) => {
2929
// Allow spaces for readability.
30-
if (e.target.value.match(/^[0-9 ]+$/)) {
30+
if (e.target.value.match(/^[0-9 ]*$/)) {
3131
onChange(e.target.value);
3232
} else {
3333
e.preventDefault();

0 commit comments

Comments
 (0)