fix: resolve all linting errors and type issues

- Remove unused setShowOfflineIndicator calls
- Remove unused areAllRelaysLocal import
- Fix duplicate key 'failedRelays' in console.log
- Replace 'any' types with proper HighlightEvent interface
- Add eslint-disable comments for intentionally excluded useEffect dependencies
- All linting errors resolved, type checks pass
This commit is contained in:
Gigi
2025-10-31 00:04:24 +01:00
parent 5551b52bce
commit d6da27c634
5 changed files with 30 additions and 11 deletions

View File

@@ -315,6 +315,9 @@ export function useArticleLoader({
return () => {
mountedRef.current = false
}
// Dependencies intentionally excluded to prevent re-renders when relay/eventStore state changes
// This fixes the loading skeleton appearing when going offline (flight mode)
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [
naddr,
previewData