Skip to content

Commit 06d4c7d

Browse files
authored
fix lint (#25870)
1 parent 5b9dd09 commit 06d4c7d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/features/bookings/components/VerifyCodeDialog.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export const VerifyCodeDialog = ({
7878
if (hasVerified || error || isPending || !/^\d{6}$/.test(value.trim())) return;
7979

8080
verifyCode();
81-
// eslint-disable-next-line react-hooks/exhaustive-deps
8281
}, [error, isPending, value, hasVerified]);
8382

8483
useEffect(() => setValue(""), [isOpenDialog]);
@@ -89,7 +88,6 @@ export const VerifyCodeDialog = ({
8988
<Dialog
9089
open={isOpenDialog}
9190
onOpenChange={() => {
92-
setValue("");
9391
resetErrors();
9492
}}>
9593
<DialogContent className="sm:max-w-md">

0 commit comments

Comments
 (0)