mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
feat: show sidebar depends on meta data
This commit is contained in:
parent
efedfc786f
commit
b458e241fd
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ const RawGitako: React.FC<Props & ConnectorState> = function RawGitako(props) {
|
|||
const shouldShow =
|
||||
intelligentToggle === null ? platform.shouldShow(props.metaData) : intelligentToggle
|
||||
props.setShouldShow(shouldShow)
|
||||
}, [intelligentToggle])
|
||||
}, [intelligentToggle, props.metaData])
|
||||
|
||||
React.useEffect(() => {
|
||||
const { init } = props
|
||||
|
|
|
|||
Loading…
Reference in a new issue