Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelp committed Jan 7, 2025
1 parent 576fa9a commit 6ab9f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/components/settings/ProfilePhotoSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default function ProfilePhotoSettings({
if (profileInputRef.current) {
profileInputRef.current.value = "";
}
console.log(`res data message: ${res.data?.message}`);
if (res.data?.message === "file_too_large") {
toast.error("Please upload a file smaller than 10MB");
return;
Expand Down

0 comments on commit 6ab9f65

Please sign in to comment.