diff options
Diffstat (limited to 'packages/merchant-backend-ui/src')
-rw-r--r-- | packages/merchant-backend-ui/src/pages/DepletedTip.stories.tsx (renamed from packages/merchant-backend-ui/src/pages/DeletedTip.stories.tsx) | 4 | ||||
-rw-r--r-- | packages/merchant-backend-ui/src/pages/DepletedTip.tsx (renamed from packages/merchant-backend-ui/src/pages/DeletedTip.tsx) | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/merchant-backend-ui/src/pages/DeletedTip.stories.tsx b/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 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 <title>Status of your tip</title>; } -export function DeletedTip(): VNode { +export function DepletedTip(): VNode { return ( <Page> <section> @@ -43,7 +43,7 @@ export function DeletedTip(): VNode { export function mount(): void { try { - render(<DeletedTip />, document.body); + render(<DepletedTip />, document.body); } catch (e) { console.error("got error", e); if (e instanceof Error) { @@ -55,6 +55,6 @@ export function mount(): void { export function buildTimeRendering(): { head: string; body: string } { return { head: renderToString(<Head />), - body: renderToString(<DeletedTip />), + body: renderToString(<DepletedTip />), }; } |