fix: protocol exports
This commit is contained in:
parent
be58052fcd
commit
ddd01a0e35
|
@ -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'
|
||||
|
|
|
@ -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 }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue