Skip to content

Commit

Permalink
@studio-freight/[email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
clementroche committed Jan 9, 2024
1 parent 66c0728 commit 14fc912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-lenis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function Component() {

useEffect(() => {
function update(time) {
lenisRef.current.lenis?.raf(time * 1000)
lenisRef.current?.lenis?.raf(time * 1000)
}

gsap.ticker.add(update)
Expand Down
2 changes: 1 addition & 1 deletion packages/react-lenis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@studio-freight/react-lenis",
"version": "0.0.42",
"version": "0.0.43",
"repository": {
"type": "git",
"url": "git+https://github.com/studio-freight/lenis.git"
Expand Down

2 comments on commit 14fc912

@vercel
Copy link

@vercel vercel bot commented on 14fc912 Jan 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"⚡️ Lighthouse report for the changes in this commit:

🔴 Performance: 31
🟠 Accessibility: 88
🟢 Best practices: 100
🟠 SEO: 67
🔴 PWA: 0

Lighthouse ran on https://gsap.com/requires-membership/?plugin=SplitText&source=trial"

Please sign in to comment.