fix: prevent flash of previously rendered card

This commit is contained in:
Apoorv Mishra committed 2023-07-21 17:02:12 +05:30
1 parent 233edf88ec
commit 3d4ef30129
1 file changed
+1 -1
+1 -1
View File
@@ -111,7 +111,7 @@ function HoverPreviewInternal({ element, onClose }: Props) {
: anchorBounds.left;
const leftOffset = anchorBounds.left - left;
if (!data && loading) {
if (loading) {
return <LoadingIndicator />;
}