mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
SIMPLIFY bugger logic
This commit is contained in:
parent
8c85bdd360
commit
f863575875
@ -84,7 +84,7 @@ export class PostmsgTransport {
|
||||
this.buffer.push({ event, resolve, reject });
|
||||
});
|
||||
}
|
||||
if (frames.length && this.buffer.length) {
|
||||
if (this.buffer.length) {
|
||||
this.flush();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user