aboutsummaryrefslogtreecommitdiff
path: root/src/components/App.js
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-25 18:24:41 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-25 18:24:41 +0530
commit0d90508977837bec25f038fe5380e6fb3bc82745 (patch)
treef3e0eac29224dc46bbcdf59881f7912000624b3d /src/components/App.js
parent6874be2c3016b872016ba32181823a8e1232a1a7 (diff)
converted all the smaller files to tsx
Diffstat (limited to 'src/components/App.js')
-rw-r--r--src/components/App.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/components/App.js b/src/components/App.js
deleted file mode 100644
index 64057b8..0000000
--- a/src/components/App.js
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * OpenBills - Self hosted browser app to generate and keep track of simple invoices
- * Version - 0
- * Licensed under the MIT license - https://opensource.org/licenses/MIT
- *
- * Copyright (c) 2021 Vidhu Kant Sharma
-*/
-
-import React from "react";
-import {BrowserRouter, Route, Switch} from "react-router-dom";
-
-import Header from "./Header/Header";
-import HomePage from "./Pages/HomePage";
-import BillingPage from "./Pages/BillingPage";
-
-const App = () => {
- return (
- <>
- <BrowserRouter>
- <Header/>
- <div className={"root-content"}>
- <Switch>
- <Route exact path="/" component={HomePage}/>
- <Route exact path="/BillingPage" component={BillingPage}/>
- <Route path="/" render={() => <div>404</div>}/>
- </Switch>
- </div>
- </BrowserRouter>
- </>
- );
-}
-
-export default App;