From 01571d81bab7a5b0b098bd6ece6cf38bc32a96bc Mon Sep 17 00:00:00 2001 From: ikiler Date: Mon, 27 Nov 2023 14:00:59 +0800 Subject: [PATCH] fix code style --- dinky-web/src/hooks/useHookRequest.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dinky-web/src/hooks/useHookRequest.tsx b/dinky-web/src/hooks/useHookRequest.tsx index 14e6eab04d..09798c1c3b 100644 --- a/dinky-web/src/hooks/useHookRequest.tsx +++ b/dinky-web/src/hooks/useHookRequest.tsx @@ -67,7 +67,7 @@ function useHookRequest( const [loading, setLoading] = useState(false); const [error, setError] = useState(); const status = useRef(false); - const pollingIntervalTimer = useRef(); + const pollingIntervalTimer = useRef(); const { manual = false, @@ -103,7 +103,7 @@ function useHookRequest( const doRun = async (params: TParams) => { let finish = false; try { - console.log(pollingInterval) + console.log(pollingInterval); //延迟显示loading,防止刷新时闪屏 if (loadingDelay) { setTimeout(() => {