From 5faa9db0bdac4bb0415c1db96d5aaf2e12a9555b Mon Sep 17 00:00:00 2001 From: Collin 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