Skip to content

Commit 7b8e621

Browse files
authored
Update README.md
1 parent e53d357 commit 7b8e621

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ export function CoolComponentC() {
8383
// Fired when LazyChild has 75% visibility
8484
const onVisibilityEnter = async () => {
8585
analyticsCall();
86-
setPaused(false);
8786
};
8887

89-
if (!data) {
88+
if (!loading && !data) {
9089
// Trigger has fired and no data :(
9190
return null;
9291
}

0 commit comments

Comments
 (0)