From 75d9854a13bd50978d087cddda9ed29ab2a7068c Mon Sep 17 00:00:00 2001 From: Arghya Ghosh <71373838+uiuxarghya@users.noreply.github.com> Date: Wed, 29 Oct 2025 16:18:44 +0530 Subject: [PATCH] feat(layout): wrap children with LenisProvider for improved scrolling experience --- src/app/(site)/layout.tsx | 3 ++- src/app/layout.tsx | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/(site)/layout.tsx b/src/app/(site)/layout.tsx index 48bec31b..fb3aef96 100644 --- a/src/app/(site)/layout.tsx +++ b/src/app/(site)/layout.tsx @@ -3,6 +3,7 @@ import { baseOptions, linkItems } from "@/app/layout.config"; import { Footer } from "@/components/footer"; import { GitHubIcon } from "@/components/icons"; +import LenisProvider from "@/components/providers/lenis-provider"; import { useDarkMode } from "@/hooks/useDarkMode"; import Link from "fumadocs-core/link"; import { HomeLayout } from "fumadocs-ui/layouts/home"; @@ -254,7 +255,7 @@ export default function SiteLayout({ children }: { children: ReactNode }) { ...linkItems, ]} > - {children} + {children}