import React, { Fragment } from 'react' import HistoryList from '../HistoryList' import LeftHeaderAction from '../LeftHeaderAction' import { leftSideBarExpandStateAtom } from '@helpers/atoms/SideBarExpand.atom' import { useAtomValue } from 'jotai' import { Variants, motion } from 'framer-motion' const leftSideBarVariants: Variants = { show: { x: 0, width: 320, opacity: 1, transition: { duration: 0.3 }, }, hide: { x: '-100%', width: 0, opacity: 0, transition: { duration: 0.3 }, }, } const LeftContainer: React.FC = () => { const isVisible = useAtomValue(leftSideBarExpandStateAtom) return ( {isVisible && ( {/* */} )} ) } export default React.memo(LeftContainer)