diff --git a/apps/solhint/src/app/App.tsx b/apps/solhint/src/app/App.tsx index 6cf75fdaac..9acc0b4ce0 100644 --- a/apps/solhint/src/app/App.tsx +++ b/apps/solhint/src/app/App.tsx @@ -5,26 +5,11 @@ import { SolHint } from "./SolhintPluginClient" const client = new SolHint() export default function App() { - const [contents, setContents] = useState([]) - useEffect(() => { - client.eventEmitter.on('report', (report: any) => { - setContents(fileContents => [...fileContents, report]) - }) - }, []) return ( <>