Shun Miyazawa 2 gadi atpakaļ
vecāks
revīzija
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 acceptedTypes: DragItemType[] = [DRAG_ITEM_TYPE.FOLDER, DRAG_ITEM_TYPE.BOOKMARK];
   const { t } = useTranslation();
   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 { data: currentUser } = useCurrentUser();
   const shouldMutateCurrentUserbookmarks = currentUser?._id !== userId;
   const shouldMutateCurrentUserbookmarks = currentUser?._id !== userId;