use default exports

This commit is contained in:
Tom Heaton
2024-06-06 00:38:13 +01:00
parent 96c7e41c9d
commit 77da5694bb
12 changed files with 21 additions and 43 deletions

View File

@@ -8,7 +8,7 @@ import Navbar from "../components/NavBar";
import NotebookSection from "../components/Notebooks";
import Sidebar from "../components/Sidebar";
const Home = () => {
export default function Home() {
const [isOpen, setIsOpen] = useState(false);
const toggle = () => {
@@ -27,6 +27,4 @@ const Home = () => {
<Footer />
</>
);
};
export default Home;
}