refactor: replace anchor tags with Link components for navigation in TagsPage

This commit is contained in:
Ardeman 2025-03-12 20:50:47 +08:00
parent 338f4a72c4
commit 36b22d3f4a

View File

@ -42,8 +42,8 @@ export const TagsPage = () => {
const dataSlot: DataTableSlots = { const dataSlot: DataTableSlots = {
3: (value: string) => ( 3: (value: string) => (
<Button <Button
as="a" as={Link}
href={`/lg-admin/tags/update/${value}`} to={`/lg-admin/tags/update/${value}`}
className="text-md rounded-md" className="text-md rounded-md"
size="sm" size="sm"
> >