diff --git a/beta/src/components/MDX/Sandpack/useSandpackLint.tsx b/beta/src/components/MDX/Sandpack/useSandpackLint.tsx index d9d50a6f1..3455eab98 100644 --- a/beta/src/components/MDX/Sandpack/useSandpackLint.tsx +++ b/beta/src/components/MDX/Sandpack/useSandpackLint.tsx @@ -4,10 +4,8 @@ // @ts-nocheck -import {useState, useEffect} from 'react'; +import {useState} from 'react'; import {linter} from '@codemirror/lint'; -import type {Diagnostic} from '@codemirror/lint'; -import type {Text} from '@codemirror/text'; import type {EditorView} from '@codemirror/view'; export type LintDiagnostic = {