fix: resolve TS errors from missing createAddressBook in demo client and client ref in thread view

This commit is contained in:
Linus Rath
2026-04-12 01:14:25 +02:00
parent 927a3b8b11
commit 4531cfe47c
2 changed files with 7 additions and 0 deletions
@@ -88,6 +88,7 @@ export function ThreadConversationView({
const trustedSendersAddressBook = useSettingsStore((state) => state.trustedSendersAddressBook);
const isTrustedAddressBookSender = useContactStore((state) => state.isTrustedAddressBookSender);
const addToTrustedSendersBook = useContactStore((state) => state.addToTrustedSendersBook);
const { client } = useAuthStore();
// Track which emails are expanded (most recent by default)
const [expandedIds, setExpandedIds] = useState<Set<string>>(new Set());