Jelajahi Sumber

80481 PageReactionButtons component

Mao 4 tahun lalu
induk
melakukan
4102486f79
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);