Refactor Notifications into Asks, replace all <Link> by <a>

This commit is contained in:
pikiou
2022-03-29 06:31:03 +02:00
parent 70b53c5af8
commit 4273ea1603
25 changed files with 636 additions and 663 deletions

View File

@@ -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>