mirror of
https://github.com/outline/outline.git
synced 2026-11-25 23:24:06 +03:00
fix: prevent flash of previously rendered card
This commit is contained in:
1 parent
233edf88ec
commit
3d4ef30129
1 file changed
+1
-1
@@ -111,7 +111,7 @@ function HoverPreviewInternal({ element, onClose }: Props) {
|
||||
: anchorBounds.left;
|
||||
const leftOffset = anchorBounds.left - left;
|
||||
|
||||
if (!data && loading) {
|
||||
if (loading) {
|
||||
return <LoadingIndicator />;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user