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 = { export type Column = {
id: string, id: string,
numeric: boolean, align?: string,
order: boolean, // If data for sorting will be provided in a different attr order: boolean, // If data for sorting will be provided in a different attr
disablePadding: boolean, disablePadding: boolean,
label: string, label: string,

View File

@ -31,7 +31,6 @@ export const generateColumns = () => {
const assetRow: Column = { const assetRow: Column = {
id: BALANCE_TABLE_ASSET_ID, id: BALANCE_TABLE_ASSET_ID,
order: false, order: false,
numeric: false,
disablePadding: false, disablePadding: false,
label: 'Asset', label: 'Asset',
custom: false, custom: false,
@ -40,8 +39,8 @@ export const generateColumns = () => {
const balanceRow: Column = { const balanceRow: Column = {
id: BALANCE_TABLE_BALANCE_ID, id: BALANCE_TABLE_BALANCE_ID,
align: 'right',
order: true, order: true,
numeric: true,
disablePadding: false, disablePadding: false,
label: 'Balance', label: 'Balance',
custom: false, custom: false,
@ -50,7 +49,6 @@ export const generateColumns = () => {
const actions: Column = { const actions: Column = {
id: 'actions', id: 'actions',
order: false, order: false,
numeric: false,
disablePadding: false, disablePadding: false,
label: '', label: '',
custom: true, custom: true,