import { useQuery } from '@apollo/client' import { Col, Row, Statistic } from 'antd' import Structure from 'components/structure' import { withAuth } from 'components/with.auth' import { NextPage } from 'next' import React from 'react' import { useTranslation } from 'react-i18next' import { ADMIN_STATISTIC_QUERY, AdminStatisticQueryData, AdminStatisticQueryVariables, } from '../../graphql/query/admin.statistic.query' const Index: NextPage = () => { const { t } = useTranslation() const { data, loading } = useQuery( ADMIN_STATISTIC_QUERY ) return ( ) } export default withAuth(Index, ['admin'])