import React from 'react'; import classnames from 'classnames'; import { useNavigate } from 'react-router-dom'; import { useAppConfig } from '@state'; import { Button, ButtonEnums } from '@ohif/ui'; function DataSourceSelector() { const [appConfig] = useAppConfig(); const navigate = useNavigate(); // This is frowned upon, but the raw config is needed here to provide // the selector const dsConfigs = appConfig.dataSources; return (