From 6e0e4f8f35abc85f9a74392d5b4c489b07d54926 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 15 Sep 2022 14:28:42 +0200 Subject: [PATCH] chore: use Number() instead of parseInt --- src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.ts b/src/router/index.ts index 290a9ff28..2b3e63043 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -344,7 +344,7 @@ const router = createRouter({ meta: { showAsModal: true, }, - props: route => ({ listId: parseInt(route.params.listId as string) }), + props: route => ({ listId: Number(route.params.listId as string) }), }, { path: '/lists/:listId',