diff --git a/webUI/react/src/screens/Manga.tsx b/webUI/react/src/screens/Manga.tsx index 032fcd7..0f1c69a 100644 --- a/webUI/react/src/screens/Manga.tsx +++ b/webUI/react/src/screens/Manga.tsx @@ -41,17 +41,9 @@ const useStyles = makeStyles((theme: Theme) => ({ }, })); -const InnerItem = React.memo(({ chapters, index }: any) => { - React.useEffect(() => { - console.log('inner mounting', index); - return () => { - console.log('inner unmounting', index); - }; - }, [index]); - return ( - - ); -}); +const InnerItem = React.memo(({ chapters, index }: any) => ( + +)); export default function Manga() { const classes = useStyles(); @@ -80,10 +72,7 @@ export default function Manga() { .then((data) => setChapters(data)); }, []); - const itemContent = (index:any) => { - console.log('providing content', index); - return ; - }; + const itemContent = (index:any) => ; return (