From ccd95ffda4ff85bdff44d0acceb7938695cb7f07 Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Tue, 12 Sep 2023 16:36:12 +0200 Subject: [PATCH] fix: Pathname --- app/components/use-redirect-to-versioned-cube.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/use-redirect-to-versioned-cube.tsx b/app/components/use-redirect-to-versioned-cube.tsx index ea77c34c6e..78689fc2f1 100644 --- a/app/components/use-redirect-to-versioned-cube.tsx +++ b/app/components/use-redirect-to-versioned-cube.tsx @@ -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 }),