-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a navigation bar #113
base: main
Are you sure you want to change the base?
Add a navigation bar #113
Conversation
Coverage Report •
|
import { UserContext } from "../contexts/UserContext"; | ||
import Container from "react-bootstrap/Container"; | ||
import { BrowserRouter, Routes, Route } from "react-router-dom"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is order of the imported libraries correct? The same for Layout.tsx and Index.tsx.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imports are not reorganized based on ESLint sort-imports rule.
<Route path="/" element={<Layout />}> | ||
<Route index element={<div>Welcome {user?.username}</div>} /> | ||
{/* <Route path="service" element={<div>Service Management</div>} /> */} | ||
<Route path="population" element={<div>Population form</div>} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capitals: Population Form or Population PKG.
But the name is in both cases quite misleading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to PKG Population.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
A nagivation bar was added to navigate between the different features.
Typescripts files are formatted with Prettier.