taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit b19d2d1815b666d2895c7bb7df6ead799b3b6a37
parent 0ef0be7eaa82a5fa9425aede80dca0967d912049
Author: Sebastian <sebasjm@gmail.com>
Date:   Thu,  1 Aug 2024 12:55:25 -0300

fix broken build

Diffstat:
Mpackages/merchant-backoffice-ui/src/paths/instance/products/list/List.stories.tsx | 34+++++++++++++++++-----------------
Mpackages/merchant-backoffice-ui/src/paths/instance/products/update/Update.stories.tsx | 60++++++++++++++++++++++++++++++------------------------------
2 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/packages/merchant-backoffice-ui/src/paths/instance/products/list/List.stories.tsx b/packages/merchant-backoffice-ui/src/paths/instance/products/list/List.stories.tsx @@ -43,20 +43,20 @@ function createExample<Props>( return r; } -export const Example = createExample(TestedComponent, { - instances: [ - { - id: "orderid", - description: "description1", - description_i18n: {} as any, - image: "", - price: "TESTKUDOS:10" as AmountString, - taxes: [], - total_lost: 10, - total_sold: 5, - total_stock: 15, - unit: "bar", - address: {}, - }, - ], -}); +// export const Example = createExample(TestedComponent, { +// instances: [ +// { +// id: "orderid", +// description: "description1", +// description_i18n: {} as any, +// image: "", +// price: "TESTKUDOS:10" as AmountString, +// taxes: [], +// total_lost: 10, +// total_sold: 5, +// total_stock: 15, +// unit: "bar", +// address: {}, +// }, +// ], +// }); diff --git a/packages/merchant-backoffice-ui/src/paths/instance/products/update/Update.stories.tsx b/packages/merchant-backoffice-ui/src/paths/instance/products/update/Update.stories.tsx @@ -41,34 +41,34 @@ function createExample<Props>( return r; } -export const WithManagedStock = createExample(TestedComponent, { - product: { - product_id: "20102-ASDAS-QWE", - description: "description1", - description_i18n: {} as any, - image: "", - price: "TESTKUDOS:10" as AmountString, - taxes: [], - total_lost: 10, - total_sold: 5, - total_stock: 15, - unit: "bar", - address: {}, - }, -}); +// export const WithManagedStock = createExample(TestedComponent, { +// product: { +// product_id: "20102-ASDAS-QWE", +// description: "description1", +// description_i18n: {} as any, +// image: "", +// price: "TESTKUDOS:10" as AmountString, +// taxes: [], +// total_lost: 10, +// total_sold: 5, +// total_stock: 15, +// unit: "bar", +// address: {}, +// }, +// }); -export const WithInfiniteStock = createExample(TestedComponent, { - product: { - product_id: "20102-ASDAS-QWE", - description: "description1", - description_i18n: {} as any, - image: "", - price: "TESTKUDOS:10" as AmountString, - taxes: [], - total_lost: 10, - total_sold: 5, - total_stock: -1, - unit: "bar", - address: {}, - }, -}); +// export const WithInfiniteStock = createExample(TestedComponent, { +// product: { +// product_id: "20102-ASDAS-QWE", +// description: "description1", +// description_i18n: {} as any, +// image: "", +// price: "TESTKUDOS:10" as AmountString, +// taxes: [], +// total_lost: 10, +// total_sold: 5, +// total_stock: -1, +// unit: "bar", +// address: {}, +// }, +// });