remove unnecessary code & enhance gray color over the app
This commit is contained in:
@@ -17,7 +17,6 @@ import SearchPage from "pages/search/page";
|
||||
import SplitBillPage from "pages/split-bill/page";
|
||||
import React, { ReactNode, Suspense, useEffect } from "react";
|
||||
import { createHashRouter, useLocation } from "react-router-dom";
|
||||
import { SignInPage } from "../pages/authentication";
|
||||
import { Error400Page, ErrorPage } from "../pages/errors";
|
||||
|
||||
const { useBreakpoint } = Grid;
|
||||
@@ -148,16 +147,6 @@ export const router = createHashRouter([
|
||||
errorElement: <ErrorPage />,
|
||||
},
|
||||
|
||||
{
|
||||
path: "/auth",
|
||||
errorElement: <ErrorPage />,
|
||||
children: [
|
||||
{
|
||||
path: "signin",
|
||||
element: <SignInPage />, // No PrivateRoute for sign-in
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "errors",
|
||||
errorElement: <ErrorPage />,
|
||||
|
||||
Reference in New Issue
Block a user