Skip to content

Commit d562a8b

Browse files
authored
Merge pull request #4 from storybookjs/hotfix/channel-behavior
Add isFirstDataReceived prop
2 parents 0f2141a + 6126f34 commit d562a8b

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)