gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]