mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
Clean up mobile changes, fixes #5
This commit is contained in:
@@ -41,14 +41,12 @@ class Dashboard extends React.Component {
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
// if (!this.props.app.isMobile) {
|
||||
this.props.actions.fetchDomain().then((domain) =>
|
||||
this.props.actions.updateDomain({
|
||||
domain,
|
||||
features: this.props.features,
|
||||
})
|
||||
);
|
||||
// }
|
||||
// NOTE: hack to get the timeline to always show. Not entirely sure why
|
||||
// this is necessary.
|
||||
window.dispatchEvent(new Event("resize"));
|
||||
|
||||
Reference in New Issue
Block a user