From 08218fb18f5b2513fcfe92fe52f091690ed13c07 Mon Sep 17 00:00:00 2001 From: Robert Lucas <100799838+Robert-M-Lucas@users.noreply.github.com> Date: Thu, 2 May 2024 22:11:46 +0100 Subject: [PATCH] Removed test page --- src/components/Header.tsx | 2 +- src/router.tsx | 60 +++++++++++++++++++-------------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index ec298ff..8fa4347 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -42,7 +42,7 @@ export function Header() { {/* Links to transactions page with table of expenses */}
  • Transactions
  • -
  • Firestore Test
  • + {/*
  • Firestore Test
  • */} {displayName &&
  • {displayName}
  • } diff --git a/src/router.tsx b/src/router.tsx index f5b2c09..80ae557 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -2,11 +2,11 @@ import {createBrowserRouter} from "react-router-dom"; import DashboardPage from "./pages/dashboard/DashboardPage.tsx"; import _404Page from "./pages/404/404.tsx"; import IndexPage from "./pages/index/IndexPage.tsx"; -import {SampleSidebar} from "./pages/samples/sidebar/SampleSidebar.tsx"; -import {SampleSidebarHeader} from "./pages/samples/sidebar_header/SampleSidebarHeader.tsx"; -import {SampleModal} from "./pages/samples/modal/SampleModal.tsx"; -import GraphDashboard from "./pages/dashboard/DashboardPage.tsx"; -import {TestFirestorePage} from "./pages/test firestore/TestFirestore.tsx"; +// import {SampleSidebar} from "./pages/samples/sidebar/SampleSidebar.tsx"; +// import {SampleSidebarHeader} from "./pages/samples/sidebar_header/SampleSidebarHeader.tsx"; +// import {SampleModal} from "./pages/samples/modal/SampleModal.tsx"; +// import GraphDashboard from "./pages/dashboard/DashboardPage.tsx"; +// import {TestFirestorePage} from "./pages/test firestore/TestFirestore.tsx"; import {TransactionPage} from "./pages/transactions/TransactionPage.tsx"; // ? Routing - see https://reactrouter.com/en/main @@ -25,29 +25,29 @@ export const router = createBrowserRouter([ path: "/transactions", element: , }, - { - path: "/user-tiles", - element: , - errorElement:<_404Page/> - }, - { - path: "/graphs", - element: , - }, - { - path: "/sample_sidebar", - element: , - }, - { - path: "/sample_sidebar_header", - element: , - }, - { - path: "/sample_modal", - element: , - }, - { - path: "/tiles", - element: , - }, + // { + // path: "/user-tiles", + // element: , + // errorElement:<_404Page/> + // }, + // { + // path: "/graphs", + // element: , + // }, + // { + // path: "/sample_sidebar", + // element: , + // }, + // { + // path: "/sample_sidebar_header", + // element: , + // }, + // { + // path: "/sample_modal", + // element: , + // }, + // { + // path: "/tiles", + // element: , + // }, ]); \ No newline at end of file