Skip to content

Commit

Permalink
chore: fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy Baranx committed Feb 14, 2024
1 parent c3ef8a3 commit 10008f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/Editor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions types/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { LogType } from '../components/Editor/types'

declare global {
interface Window {
EvmCodes: any
Expand Down

0 comments on commit 10008f9

Please sign in to comment.