import clsx from 'clsx'; import React from 'react'; import { useReaderStore } from '@/store/readerStore'; import useTrafficLight from '@/hooks/useTrafficLight'; interface SectionInfoProps { chapter?: string; gapLeft: string; } const SectionInfo: React.FC = ({ chapter, gapLeft }) => { const { isSideBarVisible } = useReaderStore(); const { isTrafficLightVisible } = useTrafficLight(); return (

{chapter || ''}

); }; export default SectionInfo;