Skip to content

Commit

Permalink
Remove unneeded $: property in component
Browse files Browse the repository at this point in the history
This was left over from when ChangeMemberRoleModal handled both project
and org memberships, and needed to adjust its schema based on the
now-removed roleType prop.
  • Loading branch information
rmunn committed Jun 10, 2024
1 parent 6ef4a22 commit 739524f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
export let projectId: string;
$: schema = z.object({
const schema = z.object({
role: z.enum([ProjectRole.Editor, ProjectRole.Manager])
});
type Schema = typeof schema;
Expand Down

0 comments on commit 739524f

Please sign in to comment.