@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] :
|
|
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] :
|
|
115
|
+
const updated = value ? [...other, name] : other;
|
|
116
116
|
setComms(updated);
|
|
117
117
|
};
|
|
118
118
|
const handleSubmit = (evt) => {
|
package/package.json
CHANGED