moved twitter skeleton to TweetList

This commit is contained in:
erik-sn committed 2020-10-03 10:59:52 -04:00
1 parent 2a6429c446
commit 1d4faa4bf9
5 files changed
+25 -22

No files matched your search

@@ -49,7 +49,7 @@ function TwitterSearch() {
inputRef={(input) => input && input.focus()}
/>
</div>
<TweetList tweets={tweets || []} />
{tweets && tweets.length > 0 && <TweetList tweets={tweets} />}
</div>
<SearchButton handleClick={handleSubmit} />
</>