Skip to content

Commit

Permalink
temp bugfix brh55#105
Browse files Browse the repository at this point in the history
  • Loading branch information
RestlessThinker committed Sep 9, 2019
1 parent 4dd17cd commit 5dca20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Masonry.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default class Masonry extends Component {
const columnHeights = generateColumnHeights(props.columns);
this.state = {
dataSource: this.ds.cloneWithRows([]),
dimensions: {},
dimensions: { width: Dimensions.get('window').width, height: 0, gutter: Dimensions.get('window').width / 100 * this.props.spacing },
initialOrientation: true,
_sortedData: [],
_resolvedData: [],
Expand Down

0 comments on commit 5dca20f

Please sign in to comment.