Skip to content

Commit

Permalink
fix: Pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Sep 12, 2023
1 parent cf7f78b commit ccd95ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/use-redirect-to-versioned-cube.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const useRedirectToVersionedCube = ({

if (resp) {
router.replace({
pathname: "browse",
pathname: "/browse",
query: {
...router.query,
...(router.query.iri ? { iri: resp.iri } : { dataset: resp.iri }),
Expand Down

0 comments on commit ccd95ff

Please sign in to comment.