prettier
This commit is contained in:
@@ -62,9 +62,7 @@ export class Grid extends React.PureComponent<Props, {}> {
|
||||
onClick={() => this.props.onImageSelected(image)}
|
||||
key={image.src}
|
||||
width={(image.width / image.height) * height}
|
||||
defer={
|
||||
this.gridHeight > this.props.pageBottom
|
||||
}
|
||||
defer={this.gridHeight > this.props.pageBottom}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
@@ -10,7 +10,7 @@ export interface Props {
|
||||
}
|
||||
|
||||
export interface State {
|
||||
isMounted: boolean;
|
||||
isMounted: boolean;
|
||||
}
|
||||
|
||||
interface SrcSetInfo {
|
||||
@@ -27,7 +27,7 @@ export class Picture extends React.PureComponent<Props, State> {
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
this.setState({ isMounted: true });
|
||||
this.setState({ isMounted: true });
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user