import './preloader.css'
import {connect} from "react-redux";
import {LogoLarge} from "../header";
export const Preloader = () =>
const RejectAlert = () =>
export const Preloaded = ({promiseName, promiseState, children}) =>
<>
{promiseState[promiseName]?.status === 'RESOLVED' ? children :
promiseState[promiseName]?.status === 'REJECTED' ?
:
}
>
export const CPreloaded = connect(state => ({promiseState: state.promise}))(Preloaded)