fix: replace motion/react imports with framer-motion + rounded content panel
- 4 files imported from 'motion/react' which was the removed 'motion' package. Replaced with 'framer-motion' (the package actually installed). - Dashboard content area now has rounded corners, subtle border, and inset margin creating a "panel inside shell" visual separation from the sidebar.
This commit is contained in:
@@ -12,7 +12,7 @@ import {
|
||||
motion,
|
||||
useMotionTemplate,
|
||||
useSpring,
|
||||
} from "motion/react";
|
||||
} from "framer-motion";
|
||||
import {
|
||||
Children,
|
||||
createContext,
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
AnimatePresence,
|
||||
motion,
|
||||
useSpring,
|
||||
} from "motion/react";
|
||||
} from "framer-motion";
|
||||
import {
|
||||
Children,
|
||||
createContext,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { motion, useSpring, useTransform } from "motion/react";
|
||||
import { motion, useSpring, useTransform } from "framer-motion";
|
||||
import {
|
||||
type CSSProperties,
|
||||
type ReactNode,
|
||||
|
||||
Reference in New Issue
Block a user