mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-07 05:01:49 +02:00
🎨 Improve participant definition (#1337)
This commit is contained in:
parent
12110be7c7
commit
4e7b391a9f
19 changed files with 269 additions and 238 deletions
|
@ -40,8 +40,6 @@ import { useFormValidation } from "@/utils/form-validation";
|
|||
import { usePostHog } from "@/utils/posthog";
|
||||
import { trpc } from "@/utils/trpc/client";
|
||||
|
||||
import { Participant } from ".prisma/client";
|
||||
|
||||
export const ParticipantDropdown = ({
|
||||
participant,
|
||||
onEdit,
|
||||
|
@ -50,7 +48,12 @@ export const ParticipantDropdown = ({
|
|||
align,
|
||||
}: {
|
||||
disabled?: boolean;
|
||||
participant: Participant;
|
||||
participant: {
|
||||
name: string;
|
||||
userId?: string;
|
||||
email?: string;
|
||||
id: string;
|
||||
};
|
||||
align?: "start" | "end";
|
||||
onEdit: () => void;
|
||||
children: React.ReactNode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue