From c024a2a9d6c023a3b5651e5421309c98bae5eeda Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Sat, 23 May 2020 13:41:13 +0200 Subject: [PATCH] fix routing of "/" Signed-off-by: Philip Molares --- src/components/landing/layout/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/landing/layout/index.tsx b/src/components/landing/layout/index.tsx index 716c90133..fb0eebb51 100644 --- a/src/components/landing/layout/index.tsx +++ b/src/components/landing/layout/index.tsx @@ -1,5 +1,5 @@ import React from "react"; -import {Route, Switch} from "react-router-dom"; +import {Redirect, Route, Switch} from "react-router-dom"; import {History} from "../pages/history/history"; import {Intro} from "../pages/intro/intro"; import {Container} from "react-bootstrap"; @@ -21,6 +21,9 @@ export const Landing: React.FC = () => { + + +