diff --git a/src/containers/Drawers/AccountDrawer/AccountDrawerTable.js b/src/containers/Drawers/AccountDrawer/AccountDrawerTable.js index 9b3c6ab8f..7027dd8bf 100644 --- a/src/containers/Drawers/AccountDrawer/AccountDrawerTable.js +++ b/src/containers/Drawers/AccountDrawer/AccountDrawerTable.js @@ -1,26 +1,23 @@ import React from 'react'; import { Link } from 'react-router-dom'; import intl from 'react-intl-universal'; +import styled from 'styled-components'; import { useAccountDrawerContext } from './AccountDrawerProvider'; -import { DataTable, If } from 'components'; +import { Card, DataTable, If } from 'components'; import { compose } from 'utils'; import { useAccountReadEntriesColumns } from './utils'; import withDrawerActions from 'containers/Drawer/withDrawerActions'; - +import { TableStyle } from '../../../common'; /** * account drawer table. */ function AccountDrawerTable({ closeDrawer }) { - const { - account, - accounts, - drawerName, - } = useAccountDrawerContext(); + const { account, accounts, drawerName } = useAccountDrawerContext(); // Account read-only entries table columns. const columns = useAccountReadEntriesColumns(); @@ -31,21 +28,34 @@ function AccountDrawerTable({ closeDrawer }) { }; return ( -