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

Preparing for CI test

This commit is contained in:
Zhiyuan Zheng
2021-02-02 22:50:38 +01:00
parent b8aa402c99
commit 1a5b21d56a
54 changed files with 641 additions and 448 deletions

View File

@ -53,14 +53,6 @@ const ComposeRoot: React.FC = () => {
})
}
}, [emojisData])
useEffect(() => {
if (emojisData && emojisData.length) {
// Prefetch first batch of emojis for faster loading experience
emojisData.slice(0, 40).forEach(emoji => {
Image.prefetch(emoji.url)
})
}
}, [emojisData])
const listEmpty = useMemo(() => {
if (isFetching) {