fix: corriger toutes les erreurs de lint restantes (263 -> 0)
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user