diy-template-components 2.0.15 → 2.0.17
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.
- package/build/index.es.js +3 -0
- package/build/index.es.js.map +1 -1
- package/build/index.js +3 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -7376,6 +7376,9 @@ function Contact({
|
|
|
7376
7376
|
setBtnDisabled(true);
|
|
7377
7377
|
setInputVal(formInitialValue);
|
|
7378
7378
|
setIsSubmitted(true);
|
|
7379
|
+
setTimeout(() => {
|
|
7380
|
+
setIsSubmitted(false);
|
|
7381
|
+
}, 1000);
|
|
7379
7382
|
};
|
|
7380
7383
|
useEffect(() => {
|
|
7381
7384
|
if (validData?.nameValid && validData?.emailValid && validData?.phoneValid && validData?.messageValid && inputVal?.email && inputVal?.name && inputVal?.phone && inputVal?.message) {
|