fix incorrect index
This commit is contained in:
@@ -178,7 +178,7 @@ const handleLoad = async () => {
|
||||
getApiResultData<ArticleCollection>(articlesResult);
|
||||
|
||||
if (articlesData && articlesData.articles) {
|
||||
const randomIndex = 1;
|
||||
const randomIndex = 0;
|
||||
// Math.floor(
|
||||
// Math.random() * articlesData.articles.length
|
||||
// );
|
||||
|
||||
Reference in New Issue
Block a user