diff options
| author | Sebastien Castiel <sebastien@castiel.me> | 2024-01-24 11:12:55 -0500 |
|---|---|---|
| committer | Sebastien Castiel <sebastien@castiel.me> | 2024-01-24 11:12:55 -0500 |
| commit | 545cf75e9993f4dbc0653512d01b198f111998bf (patch) | |
| tree | 352c01040e4941a76b9ade71c5e65a80671ebcf1 /src/app/groups/page.tsx | |
| parent | 7956156d705297ba7c372577bb19c09517bbd444 (diff) | |
Join group by URL (Closes #55)
Diffstat (limited to 'src/app/groups/page.tsx')
| -rw-r--r-- | src/app/groups/page.tsx | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/app/groups/page.tsx b/src/app/groups/page.tsx index 967c6b7..4366ec5 100644 --- a/src/app/groups/page.tsx +++ b/src/app/groups/page.tsx @@ -1,29 +1,10 @@ import { RecentGroupList } from '@/app/groups/recent-group-list' -import { Button } from '@/components/ui/button' -import { Plus } from 'lucide-react' import { Metadata } from 'next' -import Link from 'next/link' export const metadata: Metadata = { title: 'Recently visited groups', } export default async function GroupsPage() { - return ( - <> - <div className="flex justify-between items-center gap-4"> - <h1 className="font-bold text-2xl"> - <Link href="/groups">My groups</Link> - </h1> - <Button asChild size="icon"> - <Link href="/groups/create"> - <Plus className="w-4 h-4" /> - </Link> - </Button> - </div> - <div> - <RecentGroupList /> - </div> - </> - ) + return <RecentGroupList /> } |
