Skip to content
Snippets Groups Projects
Unverified Commit 62f34d75 authored by Jack Reed's avatar Jack Reed Committed by GitHub
Browse files

Merge pull request #1861 from ProjectMirador/windowviewer

If the IIIF info response is already in the store, there's no need to…
parents f8e06ee8 ac6f4bfe
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ class WindowViewer extends Component {
*/
componentDidMount() {
const { fetchInfoResponse } = this.props;
fetchInfoResponse(this.imageInformationUri());
!this.infoResponseIsInStore() && fetchInfoResponse(this.imageInformationUri());
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment