import { IconButton } from "@mui/material"; import React from "react"; import { useShallow } from "zustand/shallow"; import { usePlaybackStore } from "@/utils/store/playback"; const NextChapterButton = () => { const { seekToNextChapter } = usePlaybackStore( useShallow((state) => ({ seekToNextChapter: state.seekToNextChapter, })), ); return ( seekToNextChapter()}> last_page ); }; export default NextChapterButton;