Skip to content

Commit 772efb7

Browse files
committed
- Endret en del oppsett for PreloadableActionMenuItem og benytter den flere steder
- Endret immutable SWR kall til å heller bruke SWRImmutable - Oppdateringer #deploy-test-frontend
1 parent 2b93cc4 commit 772efb7

16 files changed

+178
-154
lines changed

apps/dolly-frontend/src/main/js/package-lock.json

+75-84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/dolly-frontend/src/main/js/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dolly",
3-
"version": "3.1.1",
3+
"version": "3.1.0",
44
"type": "module",
55
"description": "",
66
"main": "index.js",
@@ -70,8 +70,8 @@
7070
"@testing-library/react": "^16.0.1",
7171
"@types/lodash-es": "^4.17.12",
7272
"@types/node": "^22.8.4",
73-
"@types/react": "19.0.2",
74-
"@types/react-dom": "19.0.2",
73+
"@types/react": "^19.0.2",
74+
"@types/react-dom": "^19.0.2",
7575
"@types/react-highlight-words": "^0.20.0",
7676
"@types/react-redux": "^7.1.34",
7777
"@types/react-syntax-highlighter": "^15.5.13",

apps/dolly-frontend/src/main/js/src/allRoutes.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@ const GruppeBreadcrumb = (props) => <span>Gruppe #{props.match?.params?.gruppeId
2929

3030
const allRoutes = [
3131
{ path: '/', breadcrumb: 'Hjem', element: () => <Navigate to="/gruppe" replace /> },
32-
{ path: '/gruppe', handle: {
32+
{
33+
path: '/gruppe',
34+
handle: {
3335
crumb: () => 'Personer',
3436
},
35-
element: GruppeOversikt },
37+
element: GruppeOversikt,
38+
},
3639
{ path: '/gruppe/:gruppeId', breadcrumb: GruppeBreadcrumb, element: GruppeConnector },
3740
{
3841
path: '/gruppe/:gruppeId/bestilling/:personId',

apps/dolly-frontend/src/main/js/src/components/layout/breadcrumb/Breadcrumb.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export const Breadcrumbs = () => {
1313
.map((match) => match.handle.crumb(match.data))
1414

1515
const isActive = (match, currentLocation) => match.pathname === currentLocation.pathname
16-
//TODO: Må fikses
1716

1817
return (
1918
<nav aria-label="breadcrumb" className="breadcrumb">

0 commit comments

Comments
 (0)