well deserved clean up (#1)
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { api } from '@/app/_trpc/client';
|
||||
|
||||
export function useProfileProperties(projectId: string, event?: string) {
|
||||
export function useProfileProperties(projectId: string) {
|
||||
const query = api.profile.properties.useQuery({
|
||||
projectId: projectId,
|
||||
event,
|
||||
});
|
||||
|
||||
return query.data ?? [];
|
||||
|
||||
Reference in New Issue
Block a user