refactor: replace anchor tags with Link components for navigation in dashboard pages
This commit is contained in:
@@ -44,8 +44,8 @@ export const AdvertisementsPage = () => {
|
||||
},
|
||||
3: (value: string) => (
|
||||
<Button
|
||||
as="a"
|
||||
href={`/lg-admin/advertisements/update/${value}`}
|
||||
as={Link}
|
||||
to={`/lg-admin/advertisements/update/${value}`}
|
||||
className="text-md rounded-md"
|
||||
size="sm"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user