Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RodriSanchez1 committed Aug 28, 2023
1 parent e509f2e commit 052270d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Settings/Export/Export.helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,7 @@ pdfMake.tableLayouts = {

function getCellWidths(columns, picsee = false) {
const GRID_WIDTH = picsee ? PICSEEPAL_GRID_WIDTH : PDF_GRID_WIDTH;
const cellWidht = Math.floor(
(GRID_WIDTH - PDF_BORDER_WIDTH * columns) / columns
);
const cellWidht = (GRID_WIDTH - PDF_BORDER_WIDTH * columns) / columns;
const cellWidths = new Array(columns).fill(cellWidht);
return cellWidths;
}
Expand Down

0 comments on commit 052270d

Please sign in to comment.