feat: threads limitation fix

This commit is contained in:
Nevo David 2025-07-03 13:29:05 +07:00
parent ffe44318d5
commit f54647e905
1 changed files with 0 additions and 4 deletions

View File

@ -16,10 +16,6 @@ export default withProvider({
CustomPreviewComponent: undefined,
dto: undefined,
checkValidity: async ([firstPost, ...otherPosts], settings) => {
if (!firstPost.length) {
return 'Should have at least one media';
}
const checkVideosLength = await Promise.all(
firstPost
.filter((f) => f.path.indexOf('mp4') > -1)