Audit qualité : corrections de bugs, nettoyage, lint 0 erreur, tests #4

Merged
cedric merged 20 commits from fix/audit-2026-07-04 into master 2026-07-04 17:01:35 +00:00
Showing only changes of commit 1d8edbbcd5 - Show all commits
+1 -1
View File
@@ -28,7 +28,7 @@ export async function generateMetadata(props) {
const awtis = anTeks?.artistes?.length === 1 ? anTeks?.artistes[0].alias : getAlias(anTeks.artistes, anTeks.prioriteArtistes) const awtis = anTeks?.artistes?.length === 1 ? anTeks?.artistes[0].alias : getAlias(anTeks.artistes, anTeks.prioriteArtistes)
const title = `PAWÒL-NU | ${awtis} - ${anTeks.titre}` const title = `PAWÒL-NU | ${awtis} - ${anTeks.titre}`
const description = `Paroles de « ${anTeks?.titre} » : ${anTeks?.transcription.slice(0, 100)}...` const description = `Paroles de « ${anTeks?.titre} » : ${anTeks?.transcription?.slice(0, 100) ?? ''}...`
const url = `${siteUrl}/paroles/${slug}` const url = `${siteUrl}/paroles/${slug}`
const {couverture} = anTeks const {couverture} = anTeks