I was making a blogs edit form in react I added an input like this -
<input
type="text"
className="form-control border border-dark"
id="author"
name="author"
value={data}
onChange={handleInputChange}
/>
```(I've defined data)
when I am trying to change the value of input, it doesn't let me.
my guess is that it is refilling the input with the data