瀏覽代碼

80481 PageReactionButtons component

Mao 4 年之前
父節點
當前提交
4102486f79
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/app/src/components/PageReactionButtons.tsx

+ 1 - 1
packages/app/src/components/PageReactionButtons.tsx

@@ -23,7 +23,7 @@ const PageReactionButtons : React.FC<Props> = (props: Props) => {
     const f = async() => {
       const {
         data: { likerIds, sumOfLikers, isLiked },
-      } = await apiv3Get('/page/info', { _id: pageId });
+      } = await apiv3Get('/page/info', { pageId });
 
       setSumOfLikers(sumOfLikers);
       setLikers(likerIds);