Преглед изворни кода

sentList = getSentIdInArticle();

visuddhinanda пре 1 година
родитељ
комит
4e2bc12fef
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      dashboard/src/components/channel/ChannelMy.tsx

+ 2 - 1
dashboard/src/components/channel/ChannelMy.tsx

@@ -189,7 +189,8 @@ const ChannelMy = ({
           });
           });
       }
       }
     } else {
     } else {
-      setSentencesId(getSentIdInArticle());
+      sentList = getSentIdInArticle();
+      setSentencesId(sentList);
       loadChannel(sentList);
       loadChannel(sentList);
     }
     }
   };
   };