import 'react-loader-spinner/dist/loader/css/react-spinner-loader.css'; import Loader from 'react-loader-spinner'; import { useSelector } from 'react-redux'; import {getLoad} from '../../../redux/loading/selector' import s from './Loader.module.css'; const CLoad = () => { const isLoading = useSelector(getLoad) return isLoading?( ):null }; const Load = () => { return ( ) }; export {CLoad,Load};