Browse Source

set false to isSubscribing variable

kaori 4 năm trước cách đây
mục cha
commit
e7944b8a5d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;