Function useConversations
- useConversations(options?): {
conversations: CachedConversation<ContentTypeMetadata>[];
error: null | Error;
isLoaded: boolean;
isLoading: boolean;
} Parameters
Optional
options: UseConversationsOptions
Returns {
conversations: CachedConversation<ContentTypeMetadata>[];
error: null | Error;
isLoaded: boolean;
isLoading: boolean;
}
error: null | Error
isLoaded: boolean
isLoading: boolean
This hook fetches all conversations with the current wallet on mount. It also exposes error and loading states.