10 lines
208 B
TypeScript
10 lines
208 B
TypeScript
import { api } from '@/trpc/client';
|
|
|
|
export function useProfileProperties(projectId: string) {
|
|
const query = api.profile.properties.useQuery({
|
|
projectId: projectId,
|
|
});
|
|
|
|
return query.data ?? [];
|
|
}
|