Ver Fonte

set false to isSubscribing variable

kaori há 4 anos atrás
pai
commit
e7944b8a5d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/app/src/components/SubscribeButton.tsx

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

@@ -36,7 +36,7 @@ const SubscribeButton: FC<Props> = (props: Props) => {
     );
   }
 
-  let isSubscribing;
+  let isSubscribing = false;
 
   if (subscriptionData.status) {
     isSubscribing = true;