Skip to content

Commit

Permalink
feat: trigger frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
orig committed Dec 24, 2023
1 parent 72e1083 commit 299e16e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/frontend/src/routes/dashboard/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,9 @@ export default component$(() => {
}

try {
// Resize and compress the image
const processedBlob = await resizeImage(file, 300, 300, 0.9);

// Convert blob to base64
// Convert blob to base64 string
const reader = new FileReader();
reader.readAsDataURL(processedBlob);
reader.onloadend = () => {
Expand Down

0 comments on commit 299e16e

Please sign in to comment.