Skip to content

Commit eba97df

Browse files
fix: fix initial emit for GraphQL adapters (#315)
1 parent 09eef92 commit eba97df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning-stubs/uiGraphQLApi/uiGraphQLApi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class graphql extends createTestWireAdapter() {
1818
constructor(dataCallback) {
1919
super(dataCallback);
2020

21-
graphql.emit({ data: undefined, errors: undefined });
21+
graphql.emit(undefined);
2222
}
2323
}
2424

0 commit comments

Comments
 (0)