fix: minor polish
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful

This commit is contained in:
JustTemmie 2025-07-04 10:17:12 +02:00
parent 33dbcb5861
commit e9717b137e
Signed by: justtemmie
SSH key fingerprint: SHA256:nBO+OwpTkd8LYhe38PIqdxmDvkIg9Vw2EbrRZM97dkU
2 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@ async function cropImage() {
} }
} }
}); });
const file = new File([blob], 'image.png', { type: 'image/png' }) const file = new File([blob], 'preview.png', { type: 'image/png' })
reader.readAsDataURL(file) reader.readAsDataURL(file)
} }
}); });

View file

@ -46,8 +46,8 @@ if (!user) {
} }
let newPfpFile: File; let newPfpFile: File;
const isCropPopupVisible = ref(false); // State to manage the visibility of the CropPopup const isCropPopupVisible = ref(false);
const cropImageSrc = ref(''); // State to hold the image source for cropping const cropImageSrc = ref('');
async function saveChanges() { async function saveChanges() {
if (!user) return; if (!user) return;