interface Provider { connected: boolean; type: string; } const [wearablesList, setWearablesList] = useState<Provider[]>([]);