fix: icônes partage/streaming ne dépendent plus du plafond de 100
Déploiement FRONT BETA / check (push) Successful in 2m13s
Déploiement FRONT PROD / check (push) Successful in 2m13s
Déploiement FRONT BETA / deploy (push) Successful in 20s
Déploiement FRONT PROD / deploy (push) Successful in 20s

This commit is contained in:
2026-07-03 21:48:25 +04:00
parent a56b355493
commit 96b7a601c8
3 changed files with 7 additions and 31 deletions
+5 -3
View File
@@ -1,6 +1,6 @@
import {Suspense} from 'react'
import {notFound} from 'next/navigation'
import {jwennTeks} from '../../lib/oki-api'
import {jwennTeks, jwennTeksEpiSlug} from '../../lib/oki-api'
import TeksDrawer from '../../components/teks/teks-drawer'
import Loading from './loading'
@@ -49,13 +49,15 @@ async function jwennDotDone() {
return teks
}
export default async function PawolLayout({children}) {
export default async function PawolLayout({children, params}) {
const {slug} = await params
const teks = await jwennDotDone()
const parole = slug ? await jwennTeksEpiSlug(slug) : null
return (
<>
<Suspense fallback={<Loading />}>
<TeksDrawer paroles={teks} />
<TeksDrawer paroles={teks} parole={parole} />
</Suspense>
<section>
{children}