refactor: replace anchor tags with Link components for navigation in dashboard pages

This commit is contained in:
Ardeman
2025-03-12 20:50:39 +08:00
parent ac5c095ecc
commit 338f4a72c4
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -83,8 +83,8 @@ export const ContentsPage = () => {
),
7: (value: string) => (
<Button
as="a"
href={`/lg-admin/contents/update/${encodeURIComponent(value)}`}
as={Link}
to={`/lg-admin/contents/update/${encodeURIComponent(value)}`}
className="text-md rounded-md"
size="sm"
>