Skip to content

Commit 0c41450

Browse files
fix: Remove undefined loadConfig() call causing UI to crash
1 parent 9fd83e2 commit 0c41450

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎frontend/js/app.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3141,9 +3141,7 @@ document.addEventListener('DOMContentLoaded', async () => {
31413141
const themeManager = new ThemeManager();
31423142

31433143
// 2. Load Config before rendering shelves so Google Books key is available.
3144-
await loadConfig();
3145-
3146-
3144+
// await loadConfig(); // Removed: function is undefined and Google Books API works without key
31473145

31483146
// --- AUTH LOGIC ---
31493147
const toggleLink = document.getElementById('toggleText');

0 commit comments

Comments
 (0)