Skip to content

Commit

Permalink
add polite & helpful comments to pfp upload thunk
Browse files Browse the repository at this point in the history
  • Loading branch information
seantokuzo committed Jun 21, 2024
1 parent 5642918 commit 68437d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/features/userProfile/userProfileSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ export const uploadProfilePicture = createAsyncThunk(
'Content-Type': 'multipart/form-data',
},
});
if (process.env.NODE_ENV === 'development') {
console.log('💰 Woah there, that ish costs money 💰');
console.log('❓❓Did Big Sean approve you to tax his AWS account❓❓');
console.log("I didn't think so, get outta here");
}
return response.data;
} catch (error) {
let errorMessage = 'An error occurred during profile picture upload';
Expand Down

0 comments on commit 68437d1

Please sign in to comment.