Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshakmaz committed Apr 6, 2021
1 parent dca34f3 commit 61baf75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gestalt/src/TableRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function TableRow(props: Props): Node {
const colWidths = [...rowRef.current.children].map((item) => item.clientWidth);
setColumnWidths(colWidths);
}
}, [rowRef, stickyColumns]);
}, [stickyColumns]);

const renderCellWithIndex = (child, index) => {
const shouldBeSticky = stickyColumns ? stickyColumns >= 0 && index < stickyColumns : false;
Expand Down

0 comments on commit 61baf75

Please sign in to comment.