Skip to content

Commit

Permalink
thisyahlen/fix: trade table for mobile (#52)
Browse files Browse the repository at this point in the history
* fix: trade table for mobile

* fix: trade table error
  • Loading branch information
thisyahlen-deriv committed Apr 27, 2023
1 parent d15f7a9 commit 336d1af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/reports/src/Containers/profit-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ const ProfitTable = ({
);

const columns = getProfitTableColumnsTemplate(currency, data.length);
const columns_map = Object.fromEntries(columns.map(({ col_index, ...props }) => [col_index, { ...props }])) as {

const columns_map = Object.fromEntries(columns.map(column => [column.col_index, column])) as {
[key in TColIndex]: TColumnTemplateType;
};

Expand Down

0 comments on commit 336d1af

Please sign in to comment.