Skip to content

Commit b3aa5d6

Browse files
committed
Fix styling error of react-virtualized
1 parent b350e00 commit b3aa5d6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"react-redux-toastr": "^7.6.13",
8282
"react-router-dom": "^5.3.0",
8383
"react-sortable-tree-theme-file-explorer": "git+https://github.com/SemanticComputing/react-sortable-tree-theme-file-explorer.git#88cee6950b0656452987c5bd7e76780c62b1e913",
84-
"react-virtualized": "^9.22.3",
84+
"react-virtualized": "^9.22.5",
8585
"react-wordcloud": "^1.2.7",
8686
"redux": "^4.2.1",
8787
"redux-observable": "^2.0.0",

src/client/components/facet_results/VirtualizedTable.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import {
1313
SortIndicator
1414
} from 'react-virtualized'
1515

16+
import 'react-virtualized/styles.css';
17+
1618
// https://github.com/bvaughn/react-virtualized/issues/650
1719
// https://github.com/bvaughn/react-virtualized/blob/master/docs/usingAutoSizer.md
1820

@@ -82,7 +84,6 @@ class VirtualizedTable extends React.PureComponent {
8284
this._noRowsRenderer = this._noRowsRenderer.bind(this)
8385
this._sort = this._sort.bind(this)
8486
}
85-
8687
render () {
8788
const { classes, list, perspectiveID } = this.props
8889
// console.log(list)

0 commit comments

Comments
 (0)