Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
♻️ refactor #208 : 앨범 초대 수락시 해당 앨범으로 redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
minsgy committed Dec 22, 2021
1 parent 160297c commit 50288d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/domain/AlbumInviteList/AlbumInviteCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const AlbumInviteCard = ({ invitationId, albumTitle, invitationCreatedAt }) => {
} = await putInvitations({ invitationId, status: 'ACCEPT' });
alert('수락 완료');
dispatch(fetchInvitations());
navigate(`/album/${data.id}`);
navigate(`/album/${data.albumId}`);
} catch (error) {
console.log(error.message);
}
Expand Down

0 comments on commit 50288d3

Please # to comment.