Explorar o código

80481 PageReactionButtons component

Mao %!s(int64=4) %!d(string=hai) anos
pai
achega
4102486f79
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);