diff options
author | Sebastian <sebasjm@gmail.com> | 2021-04-20 19:14:57 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-04-20 19:15:02 -0300 |
commit | e9482a5c90ee6cfbe647b50520716ed5ea46a944 (patch) | |
tree | a65c640c99bf9abd4a5ccebc033e813ff16249db /packages/frontend/src/paths/instance/products/update/UpdatePage.tsx | |
parent | 14b76f2c318bf483bd7534c8761aec720d067532 (diff) | |
download | merchant-backoffice-e9482a5c90ee6cfbe647b50520716ed5ea46a944.tar.gz merchant-backoffice-e9482a5c90ee6cfbe647b50520716ed5ea46a944.tar.bz2 merchant-backoffice-e9482a5c90ee6cfbe647b50520716ed5ea46a944.zip |
product stock management
Diffstat (limited to 'packages/frontend/src/paths/instance/products/update/UpdatePage.tsx')
-rw-r--r-- | packages/frontend/src/paths/instance/products/update/UpdatePage.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/paths/instance/products/update/UpdatePage.tsx b/packages/frontend/src/paths/instance/products/update/UpdatePage.tsx index 40319a8..70f11b3 100644 --- a/packages/frontend/src/paths/instance/products/update/UpdatePage.tsx +++ b/packages/frontend/src/paths/instance/products/update/UpdatePage.tsx @@ -25,7 +25,7 @@ import { Message } from "preact-messages"; import { ProductForm } from "../../../../components/product/ProductForm"; import { useListener } from "../../../../hooks"; -type Entity = MerchantBackend.Products.ProductPatchDetail & WithId +type Entity = MerchantBackend.Products.ProductDetail & WithId interface Props { onUpdate: (d: Entity) => void; @@ -48,7 +48,7 @@ export function UpdatePage({ product, onUpdate, onBack }: Props): VNode { const p = a() return p as any }) - }} /> + }} alreadyExist /> <div class="buttons is-right mt-5"> {onBack && <button class="button" onClick={onBack} ><Message id="Cancel" /></button>} |