Remove redundant console logs and comments across components

- Cleaned up unused debug logs and comments in `AddNewBookForm`, `QuillConversation`, `OfflinePinSetup`, `OfflinePinVerify`, `ShortStoryGenerator`, and `page.tsx`.
- Improved overall code readability and maintainability.
This commit is contained in:
natreex
2026-01-07 20:48:36 -05:00
parent 8eab6fd771
commit 7378d3c1f9
6 changed files with 1 additions and 22 deletions

View File

@@ -141,7 +141,6 @@ export default function AddNewBookForm({setCloseForm}: { setCloseForm: Dispatch<
if (isCurrentlyOffline()) {
bookId = await window.electron.invoke<string>('db:book:create', bookData);
} else {
// Online - call API server
bookId = await System.authPostToServer<string>('book/add', bookData, token, lang);
}
@@ -154,7 +153,6 @@ export default function AddNewBookForm({setCloseForm}: { setCloseForm: Dispatch<
bookId: bookId,
...bookData
};
console.log(isCurrentlyOffline())
if (isCurrentlyOffline()){
setLocalOnlyBooks((prevBooks: SyncedBook[]): SyncedBook[] => [...prevBooks, {
id: book.bookId,