import { ThemeProvider } from "styled-components"; import { FC, memo, type ReactNode } from "react"; import { type FeatureBundle, LazyMotion } from "framer-motion"; import { useSession } from "../../contexts/session"; import themes from "../../styles/themes"; import { DEFAULT_THEME } from "../../utils/constants"; // Define the props for the StyledApp component interface StyledAppProps { children: ReactNode; } const motionFeatures = async (): Promise => ( await import( /* webpackMode: "eager" */ "../../styles/motionFeatures" ) ).default; // eslint-disable-next-line react-refresh/only-export-components const StyledApp: FC = ({ children }) => { const { themeName } = useSession(); return ( {children} ); }; export default memo(StyledApp)