Skip to content

Commit a9bde0d

Browse files
committed
fix: remove unused variable
1 parent aa73a70 commit a9bde0d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

apps/website/src/components/navigation.astro

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,9 @@ const optimizedLogo = await getImage({
226226
tl.to(containerElement, { autoAlpha: 1 }, "showBookACall");
227227

228228
let lastDirection = 0;
229-
let firstScrollTriggered = false;
230229

231230
const st = ScrollTrigger.create({
232231
onUpdate(self) {
233-
if (!firstScrollTriggered) {
234-
firstScrollTriggered = true;
235-
}
236-
237232
if (self.direction === 1 && lastDirection !== 1) {
238233
tl.play();
239234
lastDirection = 1;

0 commit comments

Comments
 (0)