fix: protocol exports
This commit is contained in:
parent
a578b496fa
commit
480833c3f6
|
@ -6,3 +6,5 @@ export { useChat } from './use-chat'
|
||||||
export { useChats } from './use-chats'
|
export { useChats } from './use-chats'
|
||||||
export type { Member } from './use-members'
|
export type { Member } from './use-members'
|
||||||
export { useMembers } 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 { useProtocol } from './provider'
|
||||||
|
|
||||||
|
import type { Account } from '@status-im/js'
|
||||||
|
|
||||||
export const useAccount = () => {
|
export const useAccount = () => {
|
||||||
const { client, account, dispatch } = useProtocol()
|
const { client, account, dispatch } = useProtocol()
|
||||||
|
|
||||||
|
@ -18,3 +20,5 @@ export const useAccount = () => {
|
||||||
|
|
||||||
return { account, createAccount, deleteAccount } as const
|
return { account, createAccount, deleteAccount } as const
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type { Account }
|
||||||
|
|
|
@ -15,7 +15,7 @@ import {
|
||||||
Tooltip,
|
Tooltip,
|
||||||
} from '~/src/system'
|
} from '~/src/system'
|
||||||
|
|
||||||
import type { Reaction, Reactions } from '~/src/protocol/use-messages'
|
import type { Reaction, Reactions } from '~/src/protocol'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
owner: boolean
|
owner: boolean
|
||||||
|
|
Loading…
Reference in New Issue