diff options
Diffstat (limited to 'packages/merchant-backend-ui/src/index.tsx')
-rw-r--r-- | packages/merchant-backend-ui/src/index.tsx | 44 |
1 files changed, 17 insertions, 27 deletions
diff --git a/packages/merchant-backend-ui/src/index.tsx b/packages/merchant-backend-ui/src/index.tsx index 275f63371..4cfe8f7b4 100644 --- a/packages/merchant-backend-ui/src/index.tsx +++ b/packages/merchant-backend-ui/src/index.tsx @@ -15,22 +15,17 @@ */ /** -* -* @author Sebastian Javier Marchano (sebasjm) -*/ + * + * @author Sebastian Javier Marchano (sebasjm) + */ -import { h, VNode, Fragment } from 'preact'; -import { BackendContextProvider } from './context/backend'; -import { TranslationProvider } from './context/translation'; +import { Fragment, h, VNode } from "preact"; +import { BackendContextProvider } from "./context/backend"; +import { TranslationProvider } from "./context/translation"; // import { Page as RequestPayment } from './RequestPayment'; -import "./css/pure-min.css" -import { Route, Router } from 'preact-router'; -import { Footer } from './components/Footer'; -// import OfferTip from './pages/OfferTip'; -// import {OfferRefund} from './pages/OfferRefund'; -// import DepletedTip from './pages/DepletedTip'; -// import RequestPayment from './pages/RequestPayment'; -// import ShowOrderDetails from './pages/ShowOrderDetails'; +import { Route, Router } from "preact-router"; +import { Footer } from "./components/Footer"; +import "./css/pure-min.css"; export default function Application(): VNode { return ( @@ -45,17 +40,12 @@ export default function Application(): VNode { } function ApplicationStatusRoutes(): VNode { - return <Fragment> - <Router> - {/* <Route path="offer_tip" component={OfferTip} /> - <Route path="offer_refund" component={OfferRefund} /> - <Route path="depleted_tip" component={DepletedTip} /> - <Route path="request_payment" component={RequestPayment} /> - <Route path="show_order_details" component={ShowOrderDetails} /> */} - <Route default component={() => <div> - hello! - </div>} /> - </Router> - <Footer /> - </Fragment> + return ( + <Fragment> + <Router> + <Route default component={() => <div>hello!</div>} /> + </Router> + <Footer /> + </Fragment> + ); } |