refactor: code cleanup
This commit is contained in:
parent
a874dfc4b8
commit
e3b27d593f
@ -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>;
|
||||
}
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user