From ed08b2d04093d34a36f334627ea38b9cfca5d6e5 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 15 Sep 2018 12:46:50 -0500 Subject: [PATCH] redirect unsupported routes --- src/FilterLists.Web/ClientApp/Routes.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/Routes.tsx b/src/FilterLists.Web/ClientApp/Routes.tsx index 4e94675c1..fcb6a93a0 100644 --- a/src/FilterLists.Web/ClientApp/Routes.tsx +++ b/src/FilterLists.Web/ClientApp/Routes.tsx @@ -1,8 +1,13 @@ import * as React from "react"; import { Layout } from "./Layout"; -import { Route } from "react-router-dom"; +import { Route, Redirect, Switch } from "react-router-dom"; import { Home } from "./modules"; export const Routes = - + + + + + + ; \ No newline at end of file