doc: add payment component and its route
This commit is contained in:
1 parent
c555899892
commit
a6a21a2653
1 file changed
+5
@@ -6,6 +6,7 @@ import Header from "./Header/Header";
|
|||||||
import Home from "./Home/Home";
|
import Home from "./Home/Home";
|
||||||
import Checkout from "./Checkout/Checkout";
|
import Checkout from "./Checkout/Checkout";
|
||||||
import Login from "./Auth/Login";
|
import Login from "./Auth/Login";
|
||||||
|
import Payment from "./Checkout/Payment/Payment";
|
||||||
|
|
||||||
import "./App.css";
|
import "./App.css";
|
||||||
import { auth } from "./Auth/firebaseInit";
|
import { auth } from "./Auth/firebaseInit";
|
||||||
@@ -39,6 +40,10 @@ function App() {
|
|||||||
<Header />
|
<Header />
|
||||||
<Checkout />
|
<Checkout />
|
||||||
</Route>
|
</Route>
|
||||||
|
<Route path="/payment">
|
||||||
|
<Header />
|
||||||
|
<Payment />
|
||||||
|
</Route>
|
||||||
<Route path="/">
|
<Route path="/">
|
||||||
<Header />
|
<Header />
|
||||||
<Home />
|
<Home />
|
||||||
|
|||||||
Reference in new issue
Block a user