Skip to content

Commit e6229a9

Browse files
committed
replace a by Link
1 parent d2ebff4 commit e6229a9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/website/app/components/auth/ListGroups.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { createClient } from "~/utils/supabase/client";
44
import { getSessionUserData } from "~/utils/supabase/account";
5+
import Link from "next/link";
56
import { useState, useEffect } from "react";
67
import { Tables } from "@repo/database/dbTypes";
78
import useInternalError from "~/utils/internalError";
@@ -90,7 +91,7 @@ export const ListGroups = () => {
9091
{groupData.map((d) => (
9192
<li key={d.id}>
9293
{adminData[d.id || ""] ? (
93-
<a href={"group/" + d.id!}>{d.name}</a>
94+
<Link href={"group/" + d.id!}>{d.name}</Link>
9495
) : (
9596
d.name
9697
)}

0 commit comments

Comments
 (0)