diff --git a/packages/merchant-backend-ui/README.md b/packages/merchant-backend-ui/README.md index 34cf3210a..bbf826e0e 100644 --- a/packages/merchant-backend-ui/README.md +++ b/packages/merchant-backend-ui/README.md @@ -4,11 +4,11 @@ Merchant Backend pages This project generate 5 templates for the merchant backend: - * DeletedTip - * OfferRefund - * OfferTip - * RequestPayment - * ShowOrderDetails +- DepletedTip +- OfferRefund +- OfferTip +- RequestPayment +- ShowOrderDetails This pages are to be serve from the merchant-backend service and will be queried for browser that may or may not have JavaScript enabled, so we are going to do server side rendering. The merchant-backend service is currently supporting mustache library for server side rendering. diff --git a/packages/merchant-backend-ui/rollup.config.js b/packages/merchant-backend-ui/rollup.config.js index 5f22cc654..18d72e56b 100644 --- a/packages/merchant-backend-ui/rollup.config.js +++ b/packages/merchant-backend-ui/rollup.config.js @@ -110,7 +110,7 @@ const pageDefinition = (name) => ({ export default [ pageDefinition("OfferTip"), pageDefinition("OfferRefund"), - pageDefinition("DeletedTip"), + pageDefinition("DepletedTip"), pageDefinition("RequestPayment"), pageDefinition("ShowOrderDetails"), ] diff --git a/packages/merchant-backend-ui/src/pages/DeletedTip.stories.tsx b/packages/merchant-backend-ui/src/pages/DepletedTip.stories.tsx similarity index 92% rename from packages/merchant-backend-ui/src/pages/DeletedTip.stories.tsx rename to packages/merchant-backend-ui/src/pages/DepletedTip.stories.tsx index a249c4074..41c3e26a5 100644 --- a/packages/merchant-backend-ui/src/pages/DeletedTip.stories.tsx +++ b/packages/merchant-backend-ui/src/pages/DepletedTip.stories.tsx @@ -20,10 +20,10 @@ */ import { h, VNode, FunctionalComponent } from "preact"; -import { DeletedTip as TestedComponent } from "./DeletedTip"; +import { DepletedTip as TestedComponent } from "./DepletedTip"; export default { - title: "DeletedTip", + title: "DepletedTip", component: TestedComponent, argTypes: {}, }; diff --git a/packages/merchant-backend-ui/src/pages/DeletedTip.tsx b/packages/merchant-backend-ui/src/pages/DepletedTip.tsx similarity index 92% rename from packages/merchant-backend-ui/src/pages/DeletedTip.tsx rename to packages/merchant-backend-ui/src/pages/DepletedTip.tsx index 10f3c6a17..61fc52cdf 100644 --- a/packages/merchant-backend-ui/src/pages/DeletedTip.tsx +++ b/packages/merchant-backend-ui/src/pages/DepletedTip.tsx @@ -29,7 +29,7 @@ function Head(): VNode { return