Usestae с массивом TypeScript Strings

const [devices, setDevices] = useState<string[]>([])
Kezza23