Skip to content

Commit

Permalink
fix: removed the redirection code for single app
Browse files Browse the repository at this point in the history
  • Loading branch information
AshishBarvaliya committed Feb 26, 2024
1 parent 68f64e8 commit 62fdac3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dashboard/Apps/AppsIndex.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,6 @@ class AppsIndex extends React.Component {
this.forceUpdate();
});
document.body.addEventListener('keydown', this.focusField);
if (AppsManager.apps().length === 1) {
const [app] = AppsManager.apps();
this.props.navigate(`/apps/${app.slug}/browser`);
return;
}
}

componentWillUnmount() {
Expand Down

0 comments on commit 62fdac3

Please sign in to comment.