There was an error while loading. Please reload this page.
1 parent 5d43891 commit 5050eb2Copy full SHA for 5050eb2
src/useForm.js
@@ -1,7 +1,7 @@
1
import { useState } from 'react';
2
3
+const forms = {};
4
const useForm = (name, config) => {
- const forms = {};
5
forms[name] = useSpecificForm(name, config)
6
return forms[name];
7
}
@@ -77,4 +77,4 @@ const isEquivalent = (a, b) => {
77
return true;
78
79
80
-export default useForm;
+export default useForm;
0 commit comments