Skip to content

Commit 6126f34

Browse files
committed
Add isFirstDataReceived prop
1 parent 0f2141a commit 6126f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/withChannel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ const withChannel = ({
123123
const { data, isReceived, selectors } = this.state;
124124

125125
if (active === false) return null;
126-
if (!isReceived) return null;
127126

128127
return (
129128
<WrappedComponent
@@ -134,6 +133,7 @@ const withChannel = ({
134133
parameters={parameters}
135134
selectors={selectors}
136135
actions={this.actions}
136+
isFirstDataReceived={isReceived}
137137
{...props}
138138
/>
139139
);

0 commit comments

Comments
 (0)