chore: enable no-unused-vars and prefer-template eslint rules (#10350)

This commit is contained in:
Erik Ritter
2020-07-16 19:13:59 -07:00
committed by GitHub
parent 0eee6785a8
commit 09de805017
56 changed files with 66 additions and 119 deletions

View File

@@ -180,7 +180,7 @@ class ExploreViewContainer extends React.Component {
getHeight() {
if (this.props.forcedHeight) {
return this.props.forcedHeight + 'px';
return `${this.props.forcedHeight}px`;
}
const navHeight = this.props.standalone ? 0 : 90;
return `${window.innerHeight - navHeight}px`;