Make sure settings are loaded before loading library, closes #2
This commit is contained in:
@@ -23,7 +23,6 @@ const ReaderPage = () => {
|
||||
const appService = await envConfig.getAppService();
|
||||
const settings = await appService.loadSettings();
|
||||
setSettings(settings);
|
||||
console.log('initializing library in reader');
|
||||
setLibrary(await appService.loadLibraryBooks());
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user