Fix lint errors

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-01-18 09:08:26 +04:00
parent e21482362b
commit 32aac7dd9d
14 changed files with 68 additions and 70 deletions
+1 -3
View File
@@ -5,9 +5,7 @@ import {jwennTeksEpiSlug, jwennTeks, jwennKomanteEpiTeksId} from '../../lib/oki-
import TeksDrawer from '../../components/teks/teks-drawer'
import HeadLayout from '../../components/head-layout'
const jwennAwtis = awtis => {
return awtis.map(a => a.alias).join(', ')
}
const jwennAwtis = awtis => awtis.map(a => a.alias).join(', ')
export default function SlugTeks({teks, anTeks, slug, komante}) {
const awtis = anTeks.awtis.length === 1 ? anTeks.awtis[0].alias : jwennAwtis(anTeks.awtis)