From a0394a8ef69912830d7087f789a75b8cccf59de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20FAMIBELLE-PRONZOLA?= Date: Sat, 26 Mar 2022 15:41:41 +0400 Subject: [PATCH] Remove Dekoneksyon from Teks --- components/teks/teks.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/components/teks/teks.js b/components/teks/teks.js index ee78456..e8159aa 100644 --- a/components/teks/teks.js +++ b/components/teks/teks.js @@ -12,12 +12,10 @@ import { import {styled} from '@mui/material/styles' import MuiAlert from '@mui/material/Alert' import ExplicitIcon from '@mui/icons-material/Explicit' -import {useSession} from 'next-auth/react' import {formatJsonString} from '../../lib/utils/format' import VweKomante from '../komante/vwe-komante' -import Dekoneksyon from '../sesyon/dekoneksyon' import EntegreMizik from './entegre-mizik' import OkiMizik from './oki-mizik' @@ -124,7 +122,6 @@ const ExplicitTooltip = Tooltip export default function Teks({anTeks, komante, open, success, error, setSuccess, setError, handleClose}) { const isMobile = useMediaQuery('(max-width:800px)') - const {data: session} = useSession() const langArray = langToArray(anTeks) const awtis = anTeks.awtis.map(({alias}) => alias) @@ -133,13 +130,13 @@ export default function Teks({anTeks, komante, open, success, error, setSuccess,
- + {new Intl.ListFormat('fr').format(awtis)} - {anTeks.tit} + {anTeks.tit} ({anTeks?.lanne}) {anTeks.eksplisit && ( )} - {session && ( - - )} {anTeks.user && (