fix: tag collapse/expand not persisting
This commit is contained in:
@@ -81,7 +81,7 @@ export const TagsListItem: FunctionComponent<Props> = observer(
|
||||
e.stopPropagation()
|
||||
const shouldShowChildren = !showChildren
|
||||
setShowChildren(shouldShowChildren)
|
||||
tagsState.setExpanded(tag, !shouldShowChildren)
|
||||
tagsState.setExpanded(tag, shouldShowChildren)
|
||||
},
|
||||
[showChildren, tag, tagsState],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user