Fix deprecated property on TableCell from Mui

This commit is contained in:
mmv 2019-03-11 20:23:08 +04:00
parent b575db5474
commit aad76abaee
2 changed files with 2 additions and 4 deletions

View File

@ -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,

View File

@ -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,