From 86e1cb5b06c4b5e2080a18fce6dca2fb00b09f14 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Mon, 23 Jan 2023 11:25:53 -0300
Subject: fix deleted tip name and format name as merchant backend expected

---
 packages/merchant-backend-ui/src/index.tsx | 44 ++++++++++++------------------
 1 file changed, 17 insertions(+), 27 deletions(-)

(limited to 'packages/merchant-backend-ui/src/index.tsx')

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>
+  );
 }
-- 
cgit v1.2.3

