Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nebyt committed Jan 9, 2025
1 parent 8144aa4 commit cedb097
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function TxSubmittedStep({ txSubmitErrorState, onTryAgain, onSucc
</Box>
{!isSuccessful && (
<Box>
<Button variant="tertiary" color="primary">
<Button variant="tertiary" color="primary" onClick={onDownloadLogs}>
{strings.downloadLogFile}
</Button>
</Box>
Expand Down
38 changes: 0 additions & 38 deletions packages/yoroi-extension/app/containers/swap/orders/OrdersPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,44 +50,6 @@ function resolveValueOrGetter(v: ColumnValueOrGetter, ctx: ColumnContext): strin
return typeof v === 'function' ? v(ctx) : v;
}

const orderColumns: Array<Column> = [
{
name: 'Pair (From / To)',
align: 'left',
width: '176px',
},
{
name: 'Asset price',
width: '150px',
},
{
name: 'Asset amount',
width: '166px',
},
{
name: 'Total',
width: '150px',
openOrdersOnly: true,
},
{
name: 'DEX',
align: 'left',
leftPadding: '32px',
width: '216px',
openOrdersOnly: true,
},
{
name: ({ completedOrders }) => (completedOrders ? 'Time executed' : 'Time created'),
align: 'left',
width: '240px',
},
{
name: 'Transaction ID',
align: 'left',
width: 'auto',
},
];

export default function SwapOrdersPage(props: StoresProps): Node {
const { order: orderApi } = useSwap();
const strings = useStrings();
Expand Down

0 comments on commit cedb097

Please sign in to comment.