mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-09-11 13:56:29 +02:00
Refactor Notifications into Asks, replace all <Link> by <a>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { memo } from "react"
|
||||
import { Link } from "react-router-dom"
|
||||
|
||||
import { Volunteer } from "../../services/volunteers"
|
||||
import styles from "./styles.module.scss"
|
||||
@@ -14,9 +13,9 @@ const VolunteerList = ({ items }: Props) => (
|
||||
<ul>
|
||||
{items.map(({ id, lastname, firstname }) => (
|
||||
<li key={id}>
|
||||
<Link to={`/Volunteer/${id}`}>
|
||||
<a href={`/Volunteer/${id}`}>
|
||||
<b>{firstname}</b> {lastname}
|
||||
</Link>
|
||||
</a>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user