I want to change the state of an object. I want to change the value of area in search in state, but an error occurs.
error The type\'{distance: any; latitude: number; lon