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

@@ -54,14 +54,10 @@ export default function OfflinePinSetup({ onClose, onSuccess, showOnFirstLogin }
try {
if (window.electron) {
// Set the PIN
const result = await window.electron.offlinePinSet(pin);
if (result.success) {
// Enable offline mode
await window.electron.offlineModeSet(true, 30); // 30 days sync interval
console.log('[OfflinePin] PIN configured successfully');
onSuccess?.();
} else {
setError(result.error || t('offline.pin.errors.setupFailed'));