From 8b0f598d7b84c2c71a2eb9533e81548e7baffebf Mon Sep 17 00:00:00 2001 From: Eliezer Steinbock <3090527+elie222@users.noreply.github.com> Date: Sat, 21 Dec 2024 22:32:45 +0200 Subject: [PATCH] Rename search param --- apps/web/app/(app)/automation/group/Groups.tsx | 3 ++- apps/web/app/(app)/automation/group/ViewGroup.tsx | 4 ++-- apps/web/app/(app)/automation/rule/create/page.tsx | 10 ++++------ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/apps/web/app/(app)/automation/group/Groups.tsx b/apps/web/app/(app)/automation/group/Groups.tsx index 036a033e2..e7ce43e02 100644 --- a/apps/web/app/(app)/automation/group/Groups.tsx +++ b/apps/web/app/(app)/automation/group/Groups.tsx @@ -21,6 +21,7 @@ import { import type { GroupsResponse } from "@/app/api/user/group/route"; import { CreateGroupModalButton } from "@/app/(app)/automation/group/CreateGroupModal"; import { Button } from "@/components/ui/button"; +import { RuleType } from "@prisma/client"; export function Groups() { const { data, isLoading, error } = useSWR("/api/user/group"); @@ -97,7 +98,7 @@ function GroupTable({ groups }: { groups: GroupsResponse["groups"] }) { ) : (