Reactjs – How I can fix this typescript typing error? "Argument of type 'string | number' is not assignable to parameter of type 'SetStateAction<string>'"
I'm new to TypeScript and I have been facing a typing issue and I have tried many ways but can't get it fixed. This is the error I'm getting: Argument of type 'string | number' is not assignable to parameter…