if (myapp !== null && isFormValid ) {
setMypp([...myapp, blog]); <== its setting my input values into local storage
setDesc('')
setType('')
setTask('')
}else{
<===what goes here?
}
It’s silly question for you guys but im just learning. Sry for wasting time but can you guys help me.
New contributor
orgil naranhuu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.