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
@@ -78,7 +78,7 @@ export default function MyApp(props) {
}, [router])
useEffect(() => {
if (props.router.pathname.slice(0, 5) === '/teks') {
if (props.router.pathname.slice(0, 8) === '/paroles') {
setSwitchFixed(true)
} else {
setSwitchFixed(false)