Skip to content

Commit

Permalink
performance
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswilm committed Jul 18, 2019
1 parent b238149 commit d80d424
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fiduswriter/book/static/js/plugins/app/book.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {BookOverview} from "../../modules/books"
// Adds the books overview page to the app routing table
export class BookAppItem {
constructor(app) {
Expand All @@ -8,7 +7,7 @@ export class BookAppItem {
init() {
this.app.routes['book'] = {
requireLogin: true,
open: () => new BookOverview(this.app.config)
open: () => import("../../modules/books").then(({BookOverview}) => new BookOverview(this.app.config))
}
}

Expand Down

0 comments on commit d80d424

Please sign in to comment.