import { useSession } from "contexts/session"; import type { FeatureBundle } from "framer-motion"; import { LazyMotion } from "framer-motion"; import { ThemeProvider } from "styled-components"; import GlobalStyle from "styles/GlobalStyle"; import themes from "styles/themes"; import { DEFAULT_THEME } from "utils/constants"; const motionFeatures = async (): Promise => (await import("styles/motionFeatures")).default; const StyledApp: FC = ({ children }) => { const { themeName } = useSession(); return ( {children} ); }; export default StyledApp;