refactor: code cleanup

This commit is contained in:
Lewis England 2023-05-22 16:21:45 +01:00
parent a874dfc4b8
commit e3b27d593f
2 changed files with 1 additions and 3 deletions

View File

@ -33,5 +33,5 @@ export default function Container({ error = false, children, service }) {
}));
}
return <div className="relative flex flex-row w-full">{visibleChildren.slice(0, 4)}</div>;
return <div className="relative flex flex-row w-full">{visibleChildren}</div>;
}

View File

@ -1,9 +1,7 @@
import {useState} from "react";
export default function TaskBox({submitAction}) {
// const [tasks, setTasks] = useState(listDetail)
const [formVal, setFormVal] = useState("")
// let inputValue = useRef(undefined)
const handleSubmit = (event) => {
// Stop the form from submitting and refreshing the page.