Skip to content

Commit

Permalink
Update src/components/Points/PointImage.jsx
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Visée <[email protected]>
  • Loading branch information
functorism and timvisee authored Aug 28, 2024
1 parent fde1748 commit d1c821b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Points/PointImage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function PointImage({ data, sx }) {
return false;
}
if (url) {
return /\.(jpg|jpeg|png|webp|bmp|gif|ico|svg)$/.test(url.pathname);
return /\.(jpg|jpeg|png|webp|gif|svg)$/.test(url.pathname);
}
return false;
}
Expand Down

0 comments on commit d1c821b

Please sign in to comment.