ارور Uncaught TypeError: Cannot read properties of undefined (reading ‘toString’)

سوال

import React from 'react';
import millify from 'millify';
import { Typography, Row, Col, Statistic } from 'antd';
import { Link } from 'react-router-dom';

import { useGetCryptosQuery } from ‘../services/cryptoApi’;
import Cryptocurrencies from ‘./Cryptocurrencies’;
import News from ‘./News’;
import Loader from ‘./Loader’;

const { Title } = Typography;

const Homepage = () => {
const { data, isFetching } = useGetCryptosQuery(10);
const globalStats = data?.data?.stats;

if (isFetching) return ;

return (
<>

 

 

 

</>
);
};

export default Homepage;

0
امیرحسین 3 ماه 0 پاسخ ها 27 دیده شده 0

ارسال یک پاسخ