import { Modal } from '@janhq/joi' import { useAtomValue } from 'jotai' import Spinner from '../Loader/Spinner' import { waitingForCortexAtom } from '@/helpers/atoms/App.atom' import { hostAtom } from '@/helpers/atoms/AppConfig.atom' const WaitingForCortexModal: React.FC = () => { const host = useAtomValue(hostAtom) const open = useAtomValue(waitingForCortexAtom) return (

Please ensure that cortex is up and running at {host}

} /> ) } export default WaitingForCortexModal