From 94cbe8cf706ea96da747f2ef3dce529519232110 Mon Sep 17 00:00:00 2001 From: RitaDias Date: Tue, 24 Sep 2024 13:33:30 +0200 Subject: [PATCH] chore(structure): update type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bjørge Næss --- .../src/structure/panes/document/DocumentPaneProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx b/packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx index 70f8918cbff..dc43f0902da 100644 --- a/packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx +++ b/packages/sanity/src/structure/panes/document/DocumentPaneProvider.tsx @@ -748,7 +748,7 @@ export const DocumentPaneProvider = memo((props: DocumentPaneProviderProps) => { ) useEffect(() => { - let timeout: NodeJS.Timeout + let timeout: ReturnType if (connectionState === 'reconnecting') { timeout = setTimeout(() => { pushToast({