Skip to content

Commit

Permalink
Update router enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Mangan committed Jan 12, 2024
1 parent be5388c commit e4507a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const router = createBrowserRouter(
element: DatasetFactory.create()
},
{
path: `${Route.CREATE}`,
path: `${Route.CREATE_DATASET}`,
element: CreateDatasetFactory.create()
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Route.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export enum Route {
LOG_IN = '/loginpage.xhtml?redirectPage=%2Fdataverse.xhtml',
LOG_OUT = '/',
DATASETS = 'datasets',
CREATE = 'datasets/create'
CREATE_DATASET = 'datasets/create'
}

0 comments on commit e4507a0

Please sign in to comment.