All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 29s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 1m11s
Build & Deploy / 🧪 QA (push) Successful in 1m48s
Build & Deploy / 🏗️ Build (push) Successful in 3m25s
Build & Deploy / 🚀 Deploy (push) Successful in 35s
Build & Deploy / 🔔 Notify (push) Successful in 3s
12 lines
329 B
TypeScript
12 lines
329 B
TypeScript
'use client';
|
|
import { LazyMotion } from 'framer-motion';
|
|
const loadFeatures = () => import('@/lib/framer-features').then(res => res.default);
|
|
|
|
export function FramerMotionProvider({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<LazyMotion features={loadFeatures} strict>
|
|
{children}
|
|
</LazyMotion>
|
|
);
|
|
}
|