Dont display empty state while loading

This commit is contained in:
Jackson Harper
2022-04-21 14:26:59 -07:00
parent 88f936164b
commit 3f7546fb08

View File

@ -608,7 +608,7 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element {
}
</Box>
)}
{props.items.length == 0 ? <EmptyLibrary onAddLinkClicked={() => { props.setShowAddLinkModal(true) }} /> : (
{!props.isValidating && props.items.length == 0 ? <EmptyLibrary onAddLinkClicked={() => { props.setShowAddLinkModal(true) }} /> : (
<Box
ref={props.gridContainerRef}
css={{