reduce the number of requests in folder section (#55876)

This commit is contained in:
Marcos Vinicius 2022-11-03 10:22:07 -03:00 committed by GitHub
parent 5c973e58bd
commit 372ba83534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ export const FolderSection: FC<SectionHeaderProps> = ({
folderTitle,
}));
return v;
}, [sectionExpanded, section, tags]);
}, [sectionExpanded, tags]);
const onSectionExpand = () => {
setSectionExpanded(!sectionExpanded);