Skip to content

Commit

Permalink
changing default props for columns
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonhochkins committed May 16, 2023
1 parent f90752a commit a9beda6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/molecules/Table.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class Table extends Component {
}

renderTableContent({
columns = [],
columns,
isStriped,
isInverse,
hasHeader,
Expand Down Expand Up @@ -301,7 +301,7 @@ class Table extends Component {
}

renderTable() {
const { data, className, children, size, isStriped, isInverse, columns = [] } = this.props;
const { data, className, children, size, isStriped, isInverse, columns } = this.props;
return (
<table
className={cx('gds-table', className, {
Expand Down

0 comments on commit a9beda6

Please sign in to comment.