Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
fix profile (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
alicia4079 authored Dec 9, 2024
1 parent b698d81 commit 0b82a20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Page/ProfilePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function ProfilePage({ token, userId }: ProfilePageProps) {
const router = useRouter()

const userPhoto = '/users/profile.png'
const defaultPhoto = '/profile-img.png'
const defaultPhoto = '/users/profile.png'
const editIcon = '/edit-profile.png'

useEffect(() => {
Expand All @@ -48,7 +48,7 @@ export default function ProfilePage({ token, userId }: ProfilePageProps) {
}, [userId, token])

const handleEditClick = () => {
router.push('/edit-profile')
router.push('/profile/information')
}

return (
Expand Down

0 comments on commit 0b82a20

Please sign in to comment.