Files
stats/apps/dashboard/src/hooks/useProfileProperties.ts
Carl-Gerhard Lindesvärd 444e553b74 🧹 clean up duty 🧹
2024-03-28 10:40:49 +01:00

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 ?? [];
}