This commit is contained in:
faisolavolut 2025-04-21 11:28:54 +07:00
commit 43795dab6c
1 changed files with 1 additions and 0 deletions

View File

@ -289,6 +289,7 @@ export const FilePreviewBetter = ({
</div> </div>
); );
if ( if (
file?.fullname &&
[".png", ".jpeg", ".jpg", ".webp"].find((e) => file?.fullname.endsWith(e)) [".png", ".jpeg", ".jpg", ".webp"].find((e) => file?.fullname.endsWith(e))
) { ) {
content = ( content = (