fixed code
This commit is contained in:
1 parent
8e607ee21f
commit
800dc0f48c
10 files changed
+106
-77
No files matched your search
@@ -17,7 +17,9 @@ const ReportForm = () => {
|
||||
};
|
||||
|
||||
const deleteInput = (id) => {
|
||||
setInputs((prev) => prev.filter((el) => el !== id));
|
||||
if (id !== 1) {
|
||||
setInputs((prev) => prev.filter((el) => el !== id));
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user