@open-tender/utils 0.1.134 → 0.1.135

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.
@@ -115,7 +115,7 @@ const useSignUpForm = (loading, error, signUp, callback, checkConfig, hidePasswo
115
115
  };
116
116
  const handleComms = (name, value) => {
117
117
  const other = comms.filter(i => i !== name);
118
- const updated = value ? [...other, name] : comms;
118
+ const updated = value ? [...other, name] : other;
119
119
  setComms(updated);
120
120
  };
121
121
  const handleSubmit = (evt) => {
@@ -112,7 +112,7 @@ export const useSignUpForm = (loading, error, signUp, callback, checkConfig, hid
112
112
  };
113
113
  const handleComms = (name, value) => {
114
114
  const other = comms.filter(i => i !== name);
115
- const updated = value ? [...other, name] : comms;
115
+ const updated = value ? [...other, name] : other;
116
116
  setComms(updated);
117
117
  };
118
118
  const handleSubmit = (evt) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.1.134",
3
+ "version": "0.1.135",
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",