Skip to content

Commit

Permalink
Use correct default profile picture in header
Browse files Browse the repository at this point in the history
  • Loading branch information
yugisu-flux committed Jun 7, 2024
1 parent 13efafd commit 9643237
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/MainPage2.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import logo from '../assets/BEHONEST02.png';
import profileIcon from '../assets/profile_icon.png';

import './MainPage2.css';
import { Spinner } from '@chakra-ui/react';
Expand Down Expand Up @@ -93,7 +92,7 @@ function Header() {
</div>
{currentUser && (
<a href="/profile">
<img src={currentUser.profileImage || profileIcon} alt="Profile" className="image" />
<img src={currentUser.profileImage || defaultphoto} alt="Profile" className="image" />
</a>
)}
</header>
Expand Down

0 comments on commit 9643237

Please sign in to comment.