From 2f93b099689c007e617defe68d02a86be0e15564 Mon Sep 17 00:00:00 2001 From: Drew Lyton Date: Thu, 26 Sep 2024 10:44:56 -0400 Subject: [PATCH] fix: default to false for all error --- .../requestPermissionDialog/RequestPermissionDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanity/src/structure/components/requestPermissionDialog/RequestPermissionDialog.tsx b/packages/sanity/src/structure/components/requestPermissionDialog/RequestPermissionDialog.tsx index ef252500466..40d935dd7d6 100644 --- a/packages/sanity/src/structure/components/requestPermissionDialog/RequestPermissionDialog.tsx +++ b/packages/sanity/src/structure/components/requestPermissionDialog/RequestPermissionDialog.tsx @@ -67,7 +67,7 @@ export function RequestPermissionDialog({ const [noteLength, setNoteLength] = useState(0) const [msgError, setMsgError] = useState() - const [hasTooManyRequests, setHasTooManyRequests] = useState(true) + const [hasTooManyRequests, setHasTooManyRequests] = useState(false) const [hasBeenDenied, setHasBeenDenied] = useState(false) useEffect(() => {