This commit is contained in:
2024-02-22 14:01:29 +07:00
parent e9ce932646
commit 64286aa354
34 changed files with 899 additions and 354 deletions

View File

@@ -6,7 +6,7 @@ export function useProfile(pubkey: string) {
const {
isLoading,
isError,
data: user,
data: profile,
} = useQuery({
queryKey: ["user", pubkey],
queryFn: async () => {
@@ -24,5 +24,5 @@ export function useProfile(pubkey: string) {
retry: 2,
});
return { isLoading, isError, user };
return { isLoading, isError, profile };
}