Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-05-13 19:00:42 +02:00
parent a58c52631e
commit cb3a900d39
639 changed files with 1185 additions and 887 deletions

View File

@@ -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 };

View File

@@ -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 };

View File

@@ -32,4 +32,4 @@ const useEmbed = (url: string) => {
});
};
export default useEmbed;
export { useEmbed as default };

View File

@@ -53,4 +53,4 @@ const useAccountSearch = (q: string) => {
};
};
export default useAccountSearch;
export { useAccountSearch as default };

View File

@@ -29,4 +29,4 @@ const useTrends = () => {
return result;
};
export default useTrends;
export { useTrends as default };