From 19e1b70a1242ba51ec5f19e72f7b315c9a889744 Mon Sep 17 00:00:00 2001 From: Mounika Kella <45024975+mounikakella@users.noreply.github.com> Date: Fri, 13 Nov 2020 00:29:23 +0530 Subject: [PATCH] Update route-config.ts (#215) Fixed error "`path` must be provided in every route object" in console --- src/route-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/route-config.ts b/src/route-config.ts index 2e8090584d..7dab1e15d6 100644 --- a/src/route-config.ts +++ b/src/route-config.ts @@ -158,7 +158,7 @@ export const routes: RoutesFn = (t: TFunction) => [ access: "anyone", }, { - path: "", + path: "*", component: PageNotFoundSection, breadcrumb: "", access: "anyone",