From 9e9197321260aad8de3f34a92594707f4333db11 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Thu, 20 Jul 2023 12:33:35 +0000 Subject: [PATCH] refactor: remove unnecessary labels from loops If a loop contains no nested loops or switches, labeling the loop is unnecessary. --- src/hooks/useQueryLogs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useQueryLogs.ts b/src/hooks/useQueryLogs.ts index 7c13cebe..561fd786 100644 --- a/src/hooks/useQueryLogs.ts +++ b/src/hooks/useQueryLogs.ts @@ -34,7 +34,7 @@ export const useQueryLogs = () => { }); if (!isFiltered) { - continue mainLoop; + continue; } }