1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Minor fixes according to DeepScan

This commit is contained in:
Zhiyuan Zheng
2021-03-09 01:17:07 +01:00
parent f127fc3a1a
commit e1e4aace78
9 changed files with 17 additions and 26 deletions

View File

@ -19,8 +19,8 @@ const prefetchEmojis = (
sortedEmojis: { title: string; data: Mastodon.Emoji[] }[]
) => {
let requestedIndex = 0
sortedEmojis.map(sorted => {
sorted.data.map(emoji => {
sortedEmojis.forEach(sorted => {
sorted.data.forEach(emoji => {
if (requestedIndex > 40) {
return
}