From 699aba068165b82eab12c090b7f40eafe0590338 Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Fri, 8 Apr 2022 23:51:02 +0300 Subject: [PATCH] increase debounce timer --- src/containers/JsonEditor/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/JsonEditor/index.tsx b/src/containers/JsonEditor/index.tsx index daf900e..8b83fe6 100644 --- a/src/containers/JsonEditor/index.tsx +++ b/src/containers/JsonEditor/index.tsx @@ -71,7 +71,7 @@ const JsonEditor: React.FC = () => { } catch (jsonError: any) { setError({ ...error, message: jsonError.message }); } - }, 1000); + }, 1800); return () => clearTimeout(formatTimer); }, [value, settings.autoformat, dispatch]);