import PropTypes from 'prop-types';
import FormSelect from 'calypso/components/forms/form-select';
import { useNotificationDevicesQuery } from 'calypso/data/notification-devices/use-notification-devices-query';
import StreamHeader from './stream-header';
function NotificationSettingsFormDeviceSelector( { selectedDeviceId, onChange } ) {
const { data: devices = [] } = useNotificationDevicesQuery();
if ( devices.length === 1 ) {
return