aboutsummaryrefslogtreecommitdiff
path: root/src/components/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/App.js')
-rw-r--r--src/components/App.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/App.js b/src/components/App.js
index 2808a4b..4f71c90 100644
--- a/src/components/App.js
+++ b/src/components/App.js
@@ -1,9 +1,14 @@
import React from "react";
import Header from "./Header/Header";
+import HomeView from "./Views/Home/Home";
const App = () => {
+ const currentview = "home";
return (
- <Header />
+ <>
+ <Header/>
+ {currentview === "home" && <HomeView/>}
+ </>
)
}