Skip to content

Commit

Permalink
Remove duplicate check
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Dec 11, 2019
1 parent 73d22f1 commit 76883b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/public/application/application_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ export class ApplicationService {

appBox = {
app,
mount: isAppMountDeprecated(app.mount)
? this.mountContext!.createHandler(plugin, app.mount)
: app.mount,
mount: this.mountContext!.createHandler(plugin, app.mount),
};
} else {
appBox = { app, mount: app.mount };
Expand Down

0 comments on commit 76883b3

Please sign in to comment.