@open-tender/utils 0.1.144 → 0.1.145

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,9 +87,6 @@ const useSignUpGuestForm = (email, guest, loading, error, guestErrors, signUp, s
87
87
  else if (guestErrors) {
88
88
  setErrors(guestErrors);
89
89
  }
90
- else {
91
- setErrors({});
92
- }
93
90
  }
94
91
  }, [loading, error, guestErrors]);
95
92
  (0, react_1.useEffect)(() => {
@@ -84,9 +84,6 @@ export const useSignUpGuestForm = (email, guest, loading, error, guestErrors, si
84
84
  else if (guestErrors) {
85
85
  setErrors(guestErrors);
86
86
  }
87
- else {
88
- setErrors({});
89
- }
90
87
  }
91
88
  }, [loading, error, guestErrors]);
92
89
  useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.1.144",
3
+ "version": "0.1.145",
4
4
  "description": "A library of utils for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",