Skip to content

Commit

Permalink
Update ArtDetails.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jilt authored Nov 29, 2023
1 parent cd8a5cf commit c9b64f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArtDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function ArtDetails(props) {
}, [showLoader]);

useEffect(() => {
if (mediaResult.length < 0) {
if (mediaResultstr.length === 0) {
loadNewMedia(meta.media);
}
}, []);
Expand Down

0 comments on commit c9b64f8

Please sign in to comment.