fix: resolve all linter and type check errors

- Fix mergeMap concurrency syntax (pass as second parameter, not object)
- Fix type casting in CompactView debug logging
- Update useEventLoader to use ReadableContent type
- Fix eventStore type compatibility in useEventLoader
- All linter and TypeScript checks now pass
This commit is contained in:
Gigi
2025-10-22 00:27:45 +02:00
parent 5551cc3a55
commit a5bdde68fc
3 changed files with 36 additions and 25 deletions

View File

@@ -37,15 +37,16 @@ export const CompactView: React.FC<CompactViewProps> = ({
// Debug empty bookmarks
if (!displayText && bookmark.kind === 1) {
console.log('📌 Empty kind:1 bookmark:', {
const debugInfo: Record<string, unknown> = {
id: bookmark.id.slice(0, 12),
content: bookmark.content,
contentLength: bookmark.content?.length,
contentType: typeof bookmark.content,
parsedContent: !!bookmark.parsedContent,
created_at: bookmark.created_at,
sourceKind: (bookmark as any).sourceKind
})
sourceKind: (bookmark as unknown as Record<string, unknown>).sourceKind
}
console.log('📌 Empty kind:1 bookmark:', debugInfo)
}
// Calculate progress color