Skip to content

Commit

Permalink
fix: photoURLが空の時にdefaultPhotoURLを格納するように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Ojoxux committed Nov 15, 2024
1 parent 77cc62f commit 2e7a89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Profile/UserInfoCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const UserInfoCard = ({ user }) => (
<VStack spacing={4}>
<Avatar
size="2xl"
src={user?.photoURL || ''}
src={user?.photoURL || 'defaultPhotoURL'}
border="4px solid"
borderColor="purple.500"
boxShadow="0 0 20px rgba(138, 43, 226, 0.4)"
Expand Down

0 comments on commit 2e7a89d

Please sign in to comment.