From 658e9676289b8b7e98623d6ba54feca14dc70104 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Mon, 24 Apr 2023 17:35:02 +0100 Subject: [PATCH] remove anything ui --- apps/solhint/src/app/App.tsx | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) 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 ( <>
-

Solhint Plugin

- {contents.map((content, index) => { - return ( -
-
{content.message}
-
{content.line}
-
{content.column}
-
- ) - })} +
)