@@ -4,7 +4,7 @@ import { patchMeSuccess } from 'soapbox/actions/me';
|
||||
import { useApi, useAppDispatch, useOwnAccount } from 'soapbox/hooks';
|
||||
import toast from 'soapbox/toast';
|
||||
|
||||
export type IAccount = {
|
||||
type IAccount = {
|
||||
acct: string;
|
||||
avatar: string;
|
||||
avatar_static: string;
|
||||
@@ -59,4 +59,4 @@ const useUpdateCredentials = () => {
|
||||
});
|
||||
};
|
||||
|
||||
export { useUpdateCredentials };
|
||||
export { type IAccount, useUpdateCredentials };
|
||||
@@ -16,7 +16,7 @@ import { useFetchRelationships } from './relationships';
|
||||
|
||||
import type { Account } from 'soapbox/schemas';
|
||||
|
||||
export interface IChat {
|
||||
interface IChat {
|
||||
account: Account;
|
||||
created_at: string;
|
||||
id: string;
|
||||
@@ -278,4 +278,4 @@ const useChatActions = (chatId: string) => {
|
||||
};
|
||||
};
|
||||
|
||||
export { ChatKeys, useChat, useChatActions, useChats, useChatMessages };
|
||||
export { type IChat, ChatKeys, useChat, useChatActions, useChats, useChatMessages };
|
||||
|
||||
@@ -32,4 +32,4 @@ const useEmbed = (url: string) => {
|
||||
});
|
||||
};
|
||||
|
||||
export default useEmbed;
|
||||
export { useEmbed as default };
|
||||
|
||||
@@ -53,4 +53,4 @@ const useAccountSearch = (q: string) => {
|
||||
};
|
||||
};
|
||||
|
||||
export default useAccountSearch;
|
||||
export { useAccountSearch as default };
|
||||
|
||||
@@ -29,4 +29,4 @@ const useTrends = () => {
|
||||
return result;
|
||||
};
|
||||
|
||||
export default useTrends;
|
||||
export { useTrends as default };
|
||||
|
||||
Reference in New Issue
Block a user