Clean up mobile changes, fixes #5

This commit is contained in:
Logan Williams
2022-03-21 17:05:05 +01:00
parent dca91ccfa0
commit 137603dfaa
3 changed files with 1 additions and 5 deletions

View File

@@ -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"));