From 69fa008ea4e1a167e6076a69869388bf012d24b1 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Mon, 11 Dec 2023 10:26:13 -0500 Subject: Tiny adjustments --- src/app/groups/page.tsx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/app/groups/page.tsx') diff --git a/src/app/groups/page.tsx b/src/app/groups/page.tsx index 0c46d99..4a0d286 100644 --- a/src/app/groups/page.tsx +++ b/src/app/groups/page.tsx @@ -1,6 +1,5 @@ import { RecentGroupList } from '@/app/groups/recent-group-list' import { Button } from '@/components/ui/button' -import { getGroups } from '@/lib/api' import { Plus } from 'lucide-react' import { Metadata } from 'next' import Link from 'next/link' @@ -10,13 +9,8 @@ export const metadata: Metadata = { } export default async function GroupsPage() { - async function getGroupsAction(groupIds: string[]) { - 'use server' - return getGroups(groupIds) - } - return ( -
+ <>

Recently visited groups @@ -28,7 +22,7 @@ export default async function GroupsPage() {

- -
+ + ) } -- cgit v1.3