From b70062ec829c7c12e5b0c32e25dec2ead6354929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Roche?= Date: Thu, 14 Nov 2024 17:51:48 +0100 Subject: [PATCH] update lenis --- app/(pages)/(components)/lenis/index.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/(pages)/(components)/lenis/index.jsx b/app/(pages)/(components)/lenis/index.jsx index 574d8d99..ef3dd306 100644 --- a/app/(pages)/(components)/lenis/index.jsx +++ b/app/(pages)/(components)/lenis/index.jsx @@ -1,9 +1,9 @@ -"use client" +'use client' -import { useFrame } from "@darkroom.engineering/hamo" -import "lenis/dist/lenis.css" -import { ReactLenis } from "lenis/react" -import { useRef } from "react" +import { useFrame } from '@darkroom.engineering/hamo' +import 'lenis/dist/lenis.css' +import { ReactLenis } from 'lenis/react' +import { useRef } from 'react' export function Lenis({ root, options }) { const lenisRef = useRef() @@ -21,8 +21,8 @@ export function Lenis({ root, options }) { autoRaf: false, prevent: (node) => { return ( - node.nodeName === "VERCEL-LIVE-FEEDBACK" || - node.id === "theatrejs-studio-root" + node.nodeName === 'VERCEL-LIVE-FEEDBACK' || + node.id === 'theatrejs-studio-root' ) }, }}