From 514f9f561527ad628fbef795e4e470384ba1ae71 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 10 May 2024 01:13:14 +0530 Subject: [PATCH] feat(wip): html and elements state --- ui/src/App.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/src/App.jsx b/ui/src/App.jsx index a015df64..ee10a96a 100644 --- a/ui/src/App.jsx +++ b/ui/src/App.jsx @@ -1,3 +1,4 @@ +import { useState } from 'react'; import Topbar from "./components/Topbar"; import Sidebar from "./components/Sidebar"; import WebPreview from "./components/WebPreview"; @@ -5,6 +6,9 @@ import { ConfigProvider } from 'antd'; import { BrowserRouter } from 'react-router-dom' const App = () => ( + const [html, setHtml] = useState(null); + const [elements, setElements] = useState([]) +