Skip to content

Commit

Permalink
removed incorrect header separator in swap "TO" asset selecting dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Apr 29, 2024
1 parent bdfbf07 commit e517394
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ export default function Table({
{name}
</Typography>
))}
<Separator sx={{ gridColumn: '1/-1', mb: '8px' }} />
{columnNames.length > 0 && <Separator sx={{
gridColumn: '1/-1',
mb: '8px'
}}/>}
{children}
</Box>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { InfoTooltip } from '../widgets/InfoTooltip';
const fromTemplateColumns = '1fr minmax(auto, 136px)';
const toTemplateColumns = '1fr minmax(auto, 152px) minmax(auto, 136px)';
const fromColumns = ['Asset', 'Amount'];
const toColumns = [''];
const toColumns = [];

type Props = {|
assets: Array<AssetAmount>,
Expand Down

0 comments on commit e517394

Please sign in to comment.