From 21f6edea6e84c06e0804727e0e419b1f4143bc21 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sat, 1 Oct 2022 05:03:01 -0700 Subject: [PATCH] Fix book column ordering and size --- frontend/src/components/BookTable.tsx | 35 ++++++++++++++------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/BookTable.tsx b/frontend/src/components/BookTable.tsx index 0fedb01a..206289b2 100644 --- a/frontend/src/components/BookTable.tsx +++ b/frontend/src/components/BookTable.tsx @@ -16,7 +16,7 @@ import { LinearProgress, IconButton, } from '@mui/material'; -import { DataGrid, GridFooterPlaceholder, GridPagination } from '@mui/x-data-grid'; +import { DataGrid, GridPagination } from '@mui/x-data-grid'; import currencyDict from '../../static/assets/currencies.json'; import { Order } from '../models/Order.model'; @@ -32,6 +32,7 @@ import { Fullscreen, FullscreenExit, Refresh } from '@mui/icons-material'; interface Props { loading: boolean; + refreshing: boolean; clickRefresh: () => void; orders: Order[]; type: number; @@ -179,7 +180,7 @@ const BookTable = ({ width: width * fontSize, renderCell: (params) => { return ( -
+