Change 'teks' route to 'paroles'

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-03-13 01:38:45 +04:00
parent a7475c1163
commit 414db4d14d
12 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ function EntegreMizik({anTeks, isMobile}) {
}
useEffect(() => {
if (router.asPath === `/teks/${slug}` || router.asPath === `/teks/${slug}#${slug}`) {
if (router.asPath === `/paroles/${slug}` || router.asPath === `/paroles/${slug}#${slug}`) {
meteChwaMizik(null)
}
}, [router, slug])