Files
stats/apps/dashboard/src/hooks/useProfileProperties.ts
Carl-Gerhard Lindesvärd b7513f24d5 well deserved clean up (#1)
2024-03-19 06:02:28 +01:00

10 lines
213 B
TypeScript

import { api } from '@/app/_trpc/client';
export function useProfileProperties(projectId: string) {
const query = api.profile.properties.useQuery({
projectId: projectId,
});
return query.data ?? [];
}