Change 'teks' route to 'paroles'
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user