Skip to content

Commit

Permalink
linting, package-lock.json fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Matisse-Sulzer committed Apr 13, 2024
1 parent 8471fd6 commit 8d5178c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
14 changes: 11 additions & 3 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/material": "^5.15.10",
"@mui/styled-engine-sc": "^6.0.0-alpha.16",
"@mui/x-data-grid": "^7.1.1",
"axios": "^1.6.8",
"@mui/x-date-pickers": "^7.1.1",
"axios": "^1.6.8",
"dayjs": "^1.11.10",
"i18next-browser-languagedetector": "^7.2.0",
"i18next-http-backend": "^2.5.0",
Expand All @@ -36,6 +36,7 @@
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
"@types/react-router-dom": "^5.3.3",
"@types/scheduler": "^0.23.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
Expand All @@ -49,6 +50,7 @@
"i18next-browser-languagedetector": "^7.2.1",
"i18next-http-backend": "^2.5.0",
"react-i18next": "^14.1.0",
"scheduler": "^0.23.0",
"typescript": "^5.2.2",
"vite": "^5.1.7"
}
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ const router = createBrowserRouter(
createRoutesFromElements(
<Route path="/" element={<Layout />} errorElement={<ErrorBoundary />}>
<Route index element={<Home />} />
<Route path=":lang" element={<LanguagePath/>}>
<Route path="home" element={<Home />} />
<Route path="project" >
<Route path=":projectId" element={<ProjectView />}/>
</Route>
<Route path=":lang" element={<LanguagePath/>}>
<Route path="home" element={<Home />} />
<Route path="project" >
<Route path=":projectId" element={<ProjectView />}/>
</Route>
</Route>
</Route>
)
);
Expand Down

0 comments on commit 8d5178c

Please sign in to comment.