From 5534df187e5ac31947b3c957cb912310f4c20276 Mon Sep 17 00:00:00 2001 From: Tom Heaton Date: Wed, 19 Jun 2024 15:15:16 +0100 Subject: [PATCH] refactor index page --- src/App.jsx | 4 ++-- src/pages/index.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index 347bf62..c9f1899 100755 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,11 +1,11 @@ -import Home from "@/pages"; +import Index from "@/pages"; import { BrowserRouter as Router, Route, Routes } from "react-router-dom"; export default function App() { return ( - } /> + } /> ); diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 8af23c2..feaafc9 100755 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -8,7 +8,7 @@ import NotebookSection from "@/components/Notebooks"; import Sidebar from "@/components/Sidebar"; import { useState } from "react"; -export default function Home() { +export default function Index() { const [isOpen, setIsOpen] = useState(false); const toggle = () => {