🔧 Fixed the tab-switching bug

This commit is contained in:
2022-05-17 10:44:06 -07:00
parent 6c673dff2b
commit 9be9750d7b

View File

@@ -12,7 +12,7 @@ export const TabControls = (props): ReactElement => {
useEffect(() => {
console.log("changed");
setActive(filteredTabs[0].id);
}, [filteredTabs[0]]);
}, [comicBookDetailData]);
return (
<>