Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsiungw committed May 15, 2024
1 parent fb637c0 commit b089b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/app/profile/[[...slug]]/_block/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default function ProfileEditBlock({
showToast(null, 'Image is too big!');
e.target.value = '';
set(newState, e.target.name, null);
if (!avatarUrl.includes('s3')) {
if (!avatarUrl?.includes('s3')) {
set(newState, 'avatarUrl', null);
}
} else {
Expand Down

0 comments on commit b089b3c

Please sign in to comment.