From aad76abaee38a6a7cca800eb2c55b62ec9d844a6 Mon Sep 17 00:00:00 2001 From: mmv Date: Mon, 11 Mar 2019 20:23:08 +0400 Subject: [PATCH] Fix deprecated property on TableCell from Mui --- src/components/Table/TableHead.jsx | 2 +- src/routes/safe/component/Balances/dataFetcher.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Table/TableHead.jsx b/src/components/Table/TableHead.jsx index e965c7eb..37e2bc1f 100644 --- a/src/components/Table/TableHead.jsx +++ b/src/components/Table/TableHead.jsx @@ -9,7 +9,7 @@ import { type Order } from '~/components/Table/sorting' export type Column = { id: string, - numeric: boolean, + align?: string, order: boolean, // If data for sorting will be provided in a different attr disablePadding: boolean, label: string, diff --git a/src/routes/safe/component/Balances/dataFetcher.js b/src/routes/safe/component/Balances/dataFetcher.js index 94098225..4bbe6183 100644 --- a/src/routes/safe/component/Balances/dataFetcher.js +++ b/src/routes/safe/component/Balances/dataFetcher.js @@ -31,7 +31,6 @@ export const generateColumns = () => { const assetRow: Column = { id: BALANCE_TABLE_ASSET_ID, order: false, - numeric: false, disablePadding: false, label: 'Asset', custom: false, @@ -40,8 +39,8 @@ export const generateColumns = () => { const balanceRow: Column = { id: BALANCE_TABLE_BALANCE_ID, + align: 'right', order: true, - numeric: true, disablePadding: false, label: 'Balance', custom: false, @@ -50,7 +49,6 @@ export const generateColumns = () => { const actions: Column = { id: 'actions', order: false, - numeric: false, disablePadding: false, label: '', custom: true,