const [items, setItems] = useState([]);
const [input, setInput] = useState("");
const handleAddItem = () => {
if (input.length > 0) {
setItems([...items, input]);
setInput('');
}
};
const [items, setItems] = useState([]);
const [input, setInput] = useState("");
const handleAddItem = () => {
if (input.length > 0) {
setItems([...items, input]);
setInput('');
}
};
For further actions, you may consider blocking this person and/or reporting abuse
QAlogy -
QAlogy -
QAlogy -
QAlogy -
Top comments (0)