I am using Typescript with React and trying to populate the value for input (@nextui-org/react) , But I am getting the error as below, Any suggestions on how to resolve this?
The data is defined as below and contains json key with name, the object for data is very big and dynamic.
const [data, setData] = useState("");