Prechádzať zdrojové kódy

set the default value of isWatching to false

Shun Miyazawa 4 rokov pred
rodič
commit
dc38c858b7

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

@@ -16,7 +16,7 @@ type Props = {
 const SubscruibeButton: FC<Props> = (props: Props) => {
   const { t } = useTranslation();
 
-  const [isWatching, setIsWatching] = useState(true);
+  const [isWatching, setIsWatching] = useState(false);
   const { appContainer, pageContainer } = props;
 
   const handleClick = async() => {