Shun Miyazawa %!s(int64=3) %!d(string=hai) anos
pai
achega
28b22c76f5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      apps/app/src/components/Bookmarks/BookmarkFolderTree.tsx

+ 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;