diff --git a/src/components/SideBar.tsx b/src/components/SideBar.tsx index 7c2c374..c30ba5c 100644 --- a/src/components/SideBar.tsx +++ b/src/components/SideBar.tsx @@ -30,7 +30,7 @@ const RawGitako: React.FC = function RawGitako(props) { const shouldShow = intelligentToggle === null ? platform.shouldShow(props.metaData) : intelligentToggle props.setShouldShow(shouldShow) - }, [intelligentToggle]) + }, [intelligentToggle, props.metaData]) React.useEffect(() => { const { init } = props