mirror of https://github.com/VERT-sh/VERT.git
parent
9075576f17
commit
3e0de64b29
|
@ -79,7 +79,6 @@
|
||||||
const newIndex = items.findIndex((i) =>
|
const newIndex = items.findIndex((i) =>
|
||||||
i.activeMatch(e.to?.url.pathname || ""),
|
i.activeMatch(e.to?.url.pathname || ""),
|
||||||
);
|
);
|
||||||
console.log(oldIndex, newIndex);
|
|
||||||
if (newIndex < oldIndex) {
|
if (newIndex < oldIndex) {
|
||||||
goingLeft.set(true);
|
goingLeft.set(true);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue