[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant-backoffice] 02/06: fix loop render
From: |
gnunet |
Subject: |
[taler-merchant-backoffice] 02/06: fix loop render |
Date: |
Thu, 24 Jun 2021 18:59:49 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository merchant-backoffice.
commit 2ab391ef3f09b784bea250fc867e4a69e45ace41
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Thu Jun 24 13:57:40 2021 -0300
fix loop render
---
packages/frontend/src/components/product/NonInventoryProductForm.tsx | 2 +-
packages/frontend/src/components/product/ProductForm.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/packages/frontend/src/components/product/NonInventoryProductForm.tsx
b/packages/frontend/src/components/product/NonInventoryProductForm.tsx
index d2f6503..8aff1cd 100644
--- a/packages/frontend/src/components/product/NonInventoryProductForm.tsx
+++ b/packages/frontend/src/components/product/NonInventoryProductForm.tsx
@@ -123,7 +123,7 @@ export function ProductForm({ onSubscribe, initial }:
ProductProps): VNode {
useEffect(() => {
onSubscribe(hasErrors ? undefined : submit)
- }, [submit, hasErrors, onSubscribe])
+ }, [submit, hasErrors])
const i18n = useTranslator()
diff --git a/packages/frontend/src/components/product/ProductForm.tsx
b/packages/frontend/src/components/product/ProductForm.tsx
index ba0a380..9e8ac97 100644
--- a/packages/frontend/src/components/product/ProductForm.tsx
+++ b/packages/frontend/src/components/product/ProductForm.tsx
@@ -88,7 +88,7 @@ export function ProductForm({ onSubscribe, initial,
alreadyExist, }: Props) {
useEffect(() => {
onSubscribe(hasErrors ? undefined : submit)
- }, [submit, hasErrors, onSubscribe])
+ }, [submit, hasErrors])
const backend = useBackendContext();
const i18n = useTranslator()
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-merchant-backoffice] branch master updated (f4e5ed9 -> edf1742), gnunet, 2021/06/24
- [taler-merchant-backoffice] 03/06: missing shipping, gnunet, 2021/06/24
- [taler-merchant-backoffice] 06/06: places holder for transaction, gnunet, 2021/06/24
- [taler-merchant-backoffice] 01/06: h collide, gnunet, 2021/06/24
- [taler-merchant-backoffice] 02/06: fix loop render,
gnunet <=
- [taler-merchant-backoffice] 04/06: fix mixed up fields, gnunet, 2021/06/24
- [taler-merchant-backoffice] 05/06: split QR and added into reserve details, gnunet, 2021/06/24