Skip to content
Snippets Groups Projects
Commit 1159498b authored by Allen Gilliland's avatar Allen Gilliland
Browse files

Merge pull request #2267 from metabase/fix-logging

remove stray console.log
parents d5905365 943459d2
No related merge requests found
......@@ -46,7 +46,6 @@ export default class TableSimple extends Component {
let footerHeight = this.refs.footer ? ReactDOM.findDOMNode(this.refs.footer).getBoundingClientRect().height : 0;
let rowHeight = ReactDOM.findDOMNode(this.refs.firstRow).getBoundingClientRect().height + 1;
let pageSize = Math.max(1, Math.floor((this.props.height - headerHeight - footerHeight) / rowHeight));
console.log(this.props.height, headerHeight, footerHeight, rowHeight)
if (this.state.pageSize !== pageSize) {
this.setState({ pageSize });
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment