Skip to content

Commit 881a19f

Browse files
authored
fix: more server side rendering fixes (#1581)
#1573
1 parent 294fd83 commit 881a19f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/graphiql/src/components/HeaderEditor.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77
import type * as CM from 'codemirror';
8-
import 'codemirror/addon/hint/show-hint';
98
import React from 'react';
109

1110
import onHasCompletion from '../utility/onHasCompletion';

packages/graphiql/src/components/VariableEditor.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*/
7+
/// <reference path="../../node_modules/@types/codemirror/addon/hint/show-hint.d.ts" />
8+
79
import { GraphQLType } from 'graphql';
810
import type * as CM from 'codemirror';
9-
import 'codemirror/addon/hint/show-hint';
1011
import React from 'react';
1112

1213
import onHasCompletion from '../utility/onHasCompletion';

0 commit comments

Comments
 (0)