Skip to content

Commit

Permalink
chore: 드래그앤드랍 이후 토스트 알림 상단 가운데로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
dmdgpdi committed Dec 30, 2024
1 parent ee72182 commit 01a3b82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions frontend/techpick/src/hooks/usePickToFolderDndMonitor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ export function usePickToFolderDndMonitor() {
}

await movePicksToDifferentFolder({ from: activeObject, to: overObject });
notifySuccess('다른 폴더로 북마크를 이동했습니다!', {
position: 'bottom-right',
});
notifySuccess('다른 폴더로 북마크를 이동했습니다!');
await preFetchSearchPicks();
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ export function useRecommendPickToFolderDndMonitor() {
linkInfo: { url, description, imageUrl, title },
});
insertPickInfo(createdPickInfo, overObject.id);
notifySuccess('성공적으로 북마크가 추가되었습니다!', {
position: 'bottom-right',
});
notifySuccess('성공적으로 북마크가 추가되었습니다!');
} catch {
/** empty */
}
Expand Down

0 comments on commit 01a3b82

Please sign in to comment.