mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 20:58:12 +00:00
v4.5.2 (#439)
This commit is contained in:
@@ -33,6 +33,7 @@ const BillTable = () => {
|
||||
to: new Date()
|
||||
});
|
||||
const { isPc } = useSystemStore();
|
||||
const [billDetail, setBillDetail] = useState<UserBillType>();
|
||||
|
||||
const {
|
||||
data: bills,
|
||||
@@ -48,8 +49,6 @@ const BillTable = () => {
|
||||
}
|
||||
});
|
||||
|
||||
const [billDetail, setBillDetail] = useState<UserBillType>();
|
||||
|
||||
return (
|
||||
<Flex flexDirection={'column'} py={[0, 5]} h={'100%'} position={'relative'}>
|
||||
<TableContainer px={[3, 8]} position={'relative'} flex={'1 0 0'} h={0} overflowY={'auto'}>
|
||||
@@ -106,4 +105,4 @@ const BillTable = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default BillTable;
|
||||
export default React.memo(BillTable);
|
||||
|
Reference in New Issue
Block a user