From e717e2b61eab0c50d2b3172075293467ca3e804c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Saracca?= Date: Thu, 8 Aug 2024 09:53:22 -0300 Subject: [PATCH] test: fix e2e test --- .../create-collection/collection-form/useSubmitCollection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sections/create-collection/collection-form/useSubmitCollection.ts b/src/sections/create-collection/collection-form/useSubmitCollection.ts index 41c6a183c..19e8fb09d 100644 --- a/src/sections/create-collection/collection-form/useSubmitCollection.ts +++ b/src/sections/create-collection/collection-form/useSubmitCollection.ts @@ -60,7 +60,7 @@ export function useSubmitCollection( setSubmitError(null) setSubmissionStatus(SubmissionStatus.SubmitComplete) - navigate(`${Route.COLLECTIONS}?id=${newCollection.alias}`, { + navigate(`${Route.COLLECTIONS}/${newCollection.alias}`, { state: { created: true } }) return