From 79d50e03c40ea6ebcdbee7c8edf8d819a08f5577 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 23 May 2022 17:34:02 +0100 Subject: [PATCH] Fix lint --- beta/src/components/MDX/Sandpack/useSandpackLint.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/beta/src/components/MDX/Sandpack/useSandpackLint.tsx b/beta/src/components/MDX/Sandpack/useSandpackLint.tsx index d9d50a6f..3455eab9 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 = {