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>
);
if (
file?.fullname &&
[".png", ".jpeg", ".jpg", ".webp"].find((e) => file?.fullname.endsWith(e))
) {
content = (