Răsfoiți Sursa

add comment

Shun Miyazawa 2 ani în urmă
părinte
comite
28b22c76f5

+ 1 - 0
apps/app/src/components/Bookmarks/BookmarkFolderTree.tsx

@@ -35,6 +35,7 @@ export const BookmarkFolderTree: React.FC<Props> = (props: Props) => {
   // const acceptedTypes: DragItemType[] = [DRAG_ITEM_TYPE.FOLDER, DRAG_ITEM_TYPE.BOOKMARK];
   const { t } = useTranslation();
 
+  // In order to update the bookmark information in the sidebar when bookmarking or unbookmarking a page on someone else's user homepage
   const { data: currentUser } = useCurrentUser();
   const shouldMutateCurrentUserbookmarks = currentUser?._id !== userId;