Sfoglia il codice sorgente

set false to isSubscribing variable

kaori 4 anni fa
parent
commit
e7944b8a5d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;