From 252a5b30a28e8f4953d9d6ed6283e114fcfae5da Mon Sep 17 00:00:00 2001 From: Nitheesh T Ganesh Date: Tue, 6 Aug 2024 17:12:45 -0600 Subject: [PATCH] navigating to case-files route from index page --- compliance-web/src/routes/index.tsx | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/compliance-web/src/routes/index.tsx b/compliance-web/src/routes/index.tsx index a1b3d613..4b9a8cfd 100644 --- a/compliance-web/src/routes/index.tsx +++ b/compliance-web/src/routes/index.tsx @@ -1,33 +1,9 @@ -import { createFileRoute } from "@tanstack/react-router"; -import { Button, Paper } from "@mui/material"; -import { useNavigate } from "@tanstack/react-router"; +import { createFileRoute, Navigate } from "@tanstack/react-router"; export const Route = createFileRoute("/")({ component: Index, }); function Index() { - const navigate = useNavigate(); - - return ( - <> - -

Environmental Assessments

-

- British Columbia's environmental assessment process provides - opportunities for Indigenous Nations, government agencies and the - public to influence the outcome of environmental assessments in - British Columbia. -

- -
- - ); + return ; } -