From f06f45fbde2aca19b6e17683beea4d4bb862919f Mon Sep 17 00:00:00 2001
From: BjoernRave
Date: Thu, 25 Sep 2025 12:37:06 +0200
Subject: [PATCH] prevent closing the devtools from submitting the form
---
src/header.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/header.tsx b/src/header.tsx
index 2038f0e..2e27aff 100644
--- a/src/header.tsx
+++ b/src/header.tsx
@@ -42,7 +42,7 @@ const Header = ({ setVisible, control }: Props) => {
{' '}
React Hook Form
- setVisible(false)}>
+ setVisible(false)}>
✕