How to export a react hook?
I have a file called Login.jsx and I want to export the
const [username, setUsername] = useState("")
but its showing a react context error, what should i do?
How to export a react hook?
I have a file called Login.jsx and I want to export the
const [username, setUsername] = useState("")
but its showing a react context error, what should i do?