Przeglądaj źródła

set false to isSubscribing variable

kaori 4 lat temu
rodzic
commit
e7944b8a5d
1 zmienionych plików z 1 dodań i 1 usunięć
  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;