fix: protocol exports

This commit is contained in:
Pavel Prichodko 2022-06-15 16:06:59 +02:00
parent a578b496fa
commit 480833c3f6
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
3 changed files with 7 additions and 1 deletions

View File

@ -6,3 +6,5 @@ export { useChat } from './use-chat'
export { useChats } from './use-chats'
export type { Member } from './use-members'
export { useMembers } from './use-members'
export type { Message, Reaction, Reactions } from './use-messages'
export { useMessages } from './use-messages'

View File

@ -1,5 +1,7 @@
import { useProtocol } from './provider'
import type { Account } from '@status-im/js'
export const useAccount = () => {
const { client, account, dispatch } = useProtocol()
@ -18,3 +20,5 @@ export const useAccount = () => {
return { account, createAccount, deleteAccount } as const
}
export type { Account }

View File

@ -15,7 +15,7 @@ import {
Tooltip,
} from '~/src/system'
import type { Reaction, Reactions } from '~/src/protocol/use-messages'
import type { Reaction, Reactions } from '~/src/protocol'
interface Props {
owner: boolean