mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
infra for multiple sources in Card
This commit is contained in:
@@ -91,10 +91,12 @@ class Card extends React.Component {
|
||||
<CardSource
|
||||
isLoading={this.props.isLoading}
|
||||
language={this.props.language}
|
||||
source={{
|
||||
...this.props.source,
|
||||
error: this.props.sourceError
|
||||
}}
|
||||
sources={[
|
||||
...this.props.event.sources.map(s => ({
|
||||
...s,
|
||||
error: this.props.sourceError
|
||||
})),
|
||||
]}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user