fix: corriger toutes les erreurs de lint restantes (263 -> 0)

This commit is contained in:
2026-07-04 14:34:50 +04:00
parent b193914c57
commit 454eefbe58
33 changed files with 210 additions and 159 deletions
+4 -4
View File
@@ -21,10 +21,10 @@ async function jwennAnTeks(slug) {
}
export async function generateMetadata(props) {
const params = await props.params;
const params = await props.params
const {slug} = params
const anTeks = await jwennAnTeks(slug)
const anTeks = await jwennAnTeks(slug)
const awtis = anTeks?.artistes?.length === 1 ? anTeks?.artistes[0].alias : getAlias(anTeks.artistes, anTeks.prioriteArtistes)
const title = `PAWÒL-NU | ${awtis} - ${anTeks.titre}`
@@ -67,12 +67,12 @@ export async function generateMetadata(props) {
}
export default async function AnPawolPaj(props) {
const params = await props.params;
const params = await props.params
const {slug} = params
const anTeks = await jwennAnTeks(slug)
const {couverture} = anTeks
const teksKuvetiFormat = formatKuveti(couverture)
const teksKuvetiFormat = formatKuveti(couverture)
const jsonLd = {
'@context': 'http://schema.org',
+5
View File
@@ -1,4 +1,5 @@
import {Suspense} from 'react'
import PropTypes from 'prop-types'
import TeksDrawerLoader from '../../components/teks/teks-drawer-loader'
import {CurrentTrackProvider} from '../../components/teks/current-track-context'
import Loading from './loading'
@@ -50,3 +51,7 @@ export default function PawolLayout({children}) {
</CurrentTrackProvider>
)
}
PawolLayout.propTypes = {
children: PropTypes.node.isRequired
}