Compare commits

...
Author SHA1 Message Date
Matthew Russell a7d6fb6e56 chore: remove stray log 2023-06-20 08:33:42 -07:00
Matthew Russell 850f1b227c fix: deposit loading state 2023-06-20 08:33:19 -07:00
2 changed files with 1 additions and 3 deletions
@@ -22,7 +22,7 @@ export const DepositsContainer = () => {
<div className="h-full"> <div className="h-full">
<div className="h-full relative"> <div className="h-full relative">
<DepositsTable <DepositsTable
rowData={data || []} rowData={data}
ref={gridRef} ref={gridRef}
{...bottomPlaceholderProps} {...bottomPlaceholderProps}
overlayNoRowsTemplate={error ? error.message : t('No deposits')} overlayNoRowsTemplate={error ? error.message : t('No deposits')}
-2
View File
@@ -6,7 +6,6 @@ import {
truncateByChars, truncateByChars,
isNumeric, isNumeric,
} from '@vegaprotocol/utils'; } from '@vegaprotocol/utils';
import { t } from '@vegaprotocol/i18n';
import type { AgGridReact } from 'ag-grid-react'; import type { AgGridReact } from 'ag-grid-react';
import { AgGridLazy as AgGrid } from '@vegaprotocol/datagrid'; import { AgGridLazy as AgGrid } from '@vegaprotocol/datagrid';
import type { import type {
@@ -25,7 +24,6 @@ export const DepositsTable = forwardRef<
return ( return (
<AgGrid <AgGrid
ref={ref} ref={ref}
overlayNoRowsTemplate={t('No deposits')}
defaultColDef={{ resizable: true }} defaultColDef={{ resizable: true }}
style={{ width: '100%', height: '100%' }} style={{ width: '100%', height: '100%' }}
suppressCellFocus={true} suppressCellFocus={true}