[Solved] Turnoff a certain warning in VSCode


This probably has to do with linting, Maybe this can help you no-unused-vars

You can also disable linting on one line

// eslint-disable-next-line no-unused-vars
const [edit, setEdit] = useState({...})

solved Turnoff a certain warning in VSCode