Usestae z szeregiem Strings Typecript
const [devices, setDevices] = useState<string[]>([])
Kezza23
const [devices, setDevices] = useState<string[]>([])
interface Provider {
connected: boolean;
type: string;
}
const [wearablesList, setWearablesList] = useState<Provider[]>([]);