File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -258,22 +258,18 @@ class FakeEditor extends React.Component<any, FakeEditorState> {
258
258
'-active' : activeTab === 1 ,
259
259
} ) }
260
260
>
261
- { this . state . schema && (
262
- < GraphiQL fetcher = { ( e ) => this . graphQLFetcher ( e ) } schema = { this . state . schema } />
263
- ) }
261
+ < GraphiQL fetcher = { ( e ) => this . graphQLFetcher ( e ) } schema = { schema } />
264
262
</ div >
265
263
< div
266
264
className = { classNames ( 'tab-content' , {
267
265
'-active' : activeTab === 2 ,
268
266
} ) }
269
267
>
270
- { this . state . schema && (
271
- < Voyager
272
- introspection = { ( e ) => this . graphQLFetcher ( { query : e } ) }
273
- hideSettings = { activeTab !== 2 }
274
- workerURI = "/voyager.worker.js"
275
- />
276
- ) }
268
+ < Voyager
269
+ introspection = { ( e ) => this . graphQLFetcher ( { query : e } ) }
270
+ hideSettings = { activeTab !== 2 }
271
+ workerURI = "/voyager.worker.js"
272
+ />
277
273
</ div >
278
274
</ div >
279
275
</ div >
You can’t perform that action at this time.
0 commit comments