milwright commited on
Commit
88ca3a2
·
1 Parent(s): 0787f2d

fix: remove redundant bookDataService initialization

Browse files

- bookDataService is already instantiated on export
- Remove unnecessary initialize() call that was causing errors

Files changed (1) hide show
  1. src/app.js +1 -4
src/app.js CHANGED
@@ -18,10 +18,7 @@ class ClozeReaderApp {
18
 
19
  async init() {
20
  try {
21
- // Initialize services
22
- await this.bookDataService.initialize();
23
-
24
- // Start the game
25
  await this.gameEngine.initialize();
26
 
27
  // Initialize chat interface
 
18
 
19
  async init() {
20
  try {
21
+ // Start the game directly - bookDataService is already initialized
 
 
 
22
  await this.gameEngine.initialize();
23
 
24
  // Initialize chat interface