We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ebff4 commit e6229a9Copy full SHA for e6229a9
1 file changed
apps/website/app/components/auth/ListGroups.tsx
@@ -2,6 +2,7 @@
2
3
import { createClient } from "~/utils/supabase/client";
4
import { getSessionUserData } from "~/utils/supabase/account";
5
+import Link from "next/link";
6
import { useState, useEffect } from "react";
7
import { Tables } from "@repo/database/dbTypes";
8
import useInternalError from "~/utils/internalError";
@@ -90,7 +91,7 @@ export const ListGroups = () => {
90
91
{groupData.map((d) => (
92
<li key={d.id}>
93
{adminData[d.id || ""] ? (
- <a href={"group/" + d.id!}>{d.name}</a>
94
+ <Link href={"group/" + d.id!}>{d.name}</Link>
95
) : (
96
d.name
97
)}
0 commit comments