mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
closing sidebar on click
This commit is contained in:
parent
237f978cbd
commit
2e0ad878a3
3 changed files with 9 additions and 7 deletions
|
@ -53,7 +53,7 @@ const TagSidebar: VFC<TagSidebarProps> = ({ tag, onRequestClose }) => {
|
|||
</div>
|
||||
) : (
|
||||
<InfiniteScroll hasMore={hasMore} loadMore={loadMore} className={styles.list}>
|
||||
<TagSidebarList nodes={nodes} />
|
||||
<TagSidebarList nodes={nodes} onClick={onRequestClose} />
|
||||
</InfiniteScroll>
|
||||
)}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue