From 10008f9bcd31a34c81f3e870070bd399a5028a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Baranx?= Date: Tue, 13 Feb 2024 10:55:21 +0700 Subject: [PATCH] chore: fix lint warnings --- components/Editor/index.tsx | 3 ++- types/index.ts | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/Editor/index.tsx b/components/Editor/index.tsx index fb02c85..c2f102e 100644 --- a/components/Editor/index.tsx +++ b/components/Editor/index.tsx @@ -128,7 +128,8 @@ const Editor = ({ readOnly = false }: Props) => { } else if (isCompiling === CompilationState.Error) { handleLogs(logs) } - }, [isCompiling, log, serializedOutput]) + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [isCompiling, log, serializedOutput, logs]) const handleCairoCodeChange = (value: string) => { setCairoCode(value) diff --git a/types/index.ts b/types/index.ts index 832436f..5d3d787 100644 --- a/types/index.ts +++ b/types/index.ts @@ -1,5 +1,3 @@ -import { LogType } from '../components/Editor/types' - declare global { interface Window { EvmCodes: any