1
0
Fork 0
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:
Fedor Katurov 2022-01-17 12:59:58 +07:00
parent 237f978cbd
commit 2e0ad878a3
3 changed files with 9 additions and 7 deletions

View file

@ -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>