From a2b68d69ef6c0dfaf066260d5331fd7545409aa9 Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Thu, 29 Sep 2022 14:32:44 +0300 Subject: [PATCH] fix: redirect from catchProject to projects page --- src/App.tsx | 1 + src/utils/routing/routes.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 2e61bea..158ca8f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -101,6 +101,7 @@ function App() { } /> } /> } /> + } /> } /> } /> diff --git a/src/utils/routing/routes.ts b/src/utils/routing/routes.ts index 5962879..b471a30 100644 --- a/src/utils/routing/routes.ts +++ b/src/utils/routing/routes.ts @@ -107,7 +107,8 @@ export const PAGES_ROUTES = { hottest: "/projects/hottest", byCategoryId: "/projects/category/:id", listProject: "/projects/list-project", - projectPage: "/project/:tag" + projectPage: "/project/:tag", + catchProject: '/project', }, blog: { feed: "/feed",