Skip to content

Commit bff03a9

Browse files
committed
Fix index page hello world
Signed-off-by: Mattie Nickson <mnickson@sidingsmedia.com>
1 parent 839a861 commit bff03a9

File tree

2 files changed

+2
-33
lines changed

2 files changed

+2
-33
lines changed

frontend/src/main.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
// SPDX-FileCopyrightText: 2025 Sidings Media <contact@sidingsmedia.com>
22
// SPDX-License-Identifier: MIT
33

4+
import { Navigate, createBrowserRouter } from "react-router";
45
import { RouterProvider } from "react-router/dom";
56
import { StrictMode } from "react";
6-
import { createBrowserRouter } from "react-router";
77
import { createRoot } from "react-dom/client";
88

99
import App from "./App.tsx";
1010
import DashboardLayout from "./layouts/DashboardLayout";
1111
import EventPage from "./pages/EventPage.tsx";
1212
import EventsListPage from "./pages/EventsListPage.tsx";
13-
import IndexPage from "./pages/IndexPage.tsx";
1413
import MontagePage from "./pages/MontagePage.tsx";
1514

1615
const router = createBrowserRouter([
@@ -21,7 +20,7 @@ const router = createBrowserRouter([
2120
path: "/",
2221
Component: DashboardLayout,
2322
children: [
24-
{ path: "/", Component: IndexPage },
23+
{ path: "/", element: <Navigate replace to="/montage" /> },
2524
{
2625
path: "/events",
2726
Component: EventsListPage,

frontend/src/pages/IndexPage.tsx

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)