mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 05:18:34 +03:00
render source overlay content by path ext, rather than type
This commit is contained in:
@@ -43,7 +43,6 @@ const CardSource = ({ source, isLoading, onClickHandler }) => {
|
||||
const imgs = source.paths.filter(p => p.match(isImgUrl))
|
||||
thumbnail = imgs.length > 0 ? imgs[0] : null
|
||||
}
|
||||
console.log(thumbnail)
|
||||
|
||||
const fallbackIcon = (
|
||||
<i className="material-icons source-icon">
|
||||
|
||||
Reference in New Issue
Block a user