Javascript – Usestate has initial value of [Object, object]
The value of use State when put into the input value comes out to [Object, object] but in dev tools, it is shown empty. import { useState } from 'react' import {Link} from 'react-router-dom' function Login() { const [input, setInput]…