fix: 账单第一页不展示

This commit is contained in:
archer
2023-04-07 01:20:41 +08:00
parent 9c8ca7dd25
commit 7811f7482b
2 changed files with 5 additions and 13 deletions

View File

@@ -10,21 +10,12 @@ import {
Button,
Input,
Box,
Grid,
Table,
Thead,
Tbody,
Tr,
Th,
Td,
TableContainer
Grid
} from '@chakra-ui/react';
import { getPayCode, checkPayResult } from '@/api/user';
import { useToast } from '@/hooks/useToast';
import { useQuery } from '@tanstack/react-query';
import { useRouter } from 'next/router';
import { modelList } from '@/constants/model';
import { formatPrice } from '../../../utils/user';
const PayModal = ({ onClose }: { onClose: () => void }) => {
const router = useRouter();