parent
975fd2f52b
commit
a850d3b3c9
|
|
@ -43,6 +43,7 @@ export function Nav({
|
||||||
// clearTimeout(timeout);
|
// clearTimeout(timeout);
|
||||||
// }
|
// }
|
||||||
for (const entry of entries) {
|
for (const entry of entries) {
|
||||||
|
console.log(entry)
|
||||||
// const target = entry.target.id as keyof (typeof translations.pl)["nav"]
|
// const target = entry.target.id as keyof (typeof translations.pl)["nav"]
|
||||||
// if (activeSection !== target && entry.intersectionRatio > 0) {
|
// if (activeSection !== target && entry.intersectionRatio > 0) {
|
||||||
// // setActiveSection(target);
|
// // setActiveSection(target);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue