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

@@ -47,10 +47,10 @@ export default class EmbedCodeButton extends React.Component {
}
generateEmbedHTML() {
const srcLink =
const srcLink = `${
window.location.origin +
getExploreLongUrl(this.props.latestQueryFormData, 'standalone') +
`&height=${this.state.height}`;
getExploreLongUrl(this.props.latestQueryFormData, 'standalone')
}&height=${this.state.height}`;
return (
'<iframe\n' +
` width="${this.state.width}"\n` +