Skip to content

Commit

Permalink
Solve problem with css modules import
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed Jul 21, 2023
1 parent 428f0bf commit 013dd36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const router = createBrowserRouter(
path="projects/:id"
lazy={async () => {
const { ProjectDetailPage } = await import(
'./views/project' /* webpackChunkName: "project" */
'./views/project' /* webpackChunkName: "projectDetail" */
);
return { Component: ProjectDetailPage };
}}
Expand All @@ -54,7 +54,7 @@ export const router = createBrowserRouter(
path="projects/:id/tasks"
lazy={async () => {
const { SelectTask } = await import(
'./views/taskSelection' /* webpackChunkName: "taskSelection" */
'./views/taskSelection' /* webpackChunkName: "projectDetail" */
);
return { Component: SelectTask };
}}
Expand Down Expand Up @@ -349,7 +349,7 @@ export const router = createBrowserRouter(
path="projects/:id"
lazy={async () => {
const { ProjectEdit } = await import(
'./views/projectEdit' /* webpackChunkName: "projectEdit" */
'./views/projectEdit' /* webpackChunkName: "project" */
);
return { Component: ProjectEdit };
}}
Expand Down

0 comments on commit 013dd36

Please sign in to comment.