Add loadedImageDimensions to initial state
This commit is contained in:
parent
2d14d51ecb
commit
2eb23ed234
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ export default class extends React.Component {
|
||||||
error: null,
|
error: null,
|
||||||
imgError: false,
|
imgError: false,
|
||||||
imgLoaded: false,
|
imgLoaded: false,
|
||||||
|
loadedImageDimensions: null,
|
||||||
hover: false,
|
hover: false,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue