Skip to content

Commit ea6393d

Browse files
committed
remove data-testid="graphiql-container"
1 parent 955573a commit ea6393d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.changeset/hungry-spiders-cheat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphiql': major
3+
---
4+
5+
remove `data-testid="graphiql-container"`

packages/graphiql/src/components/GraphiQL.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,7 @@ export function GraphiQLInterface(props: GraphiQLInterfaceProps) {
462462

463463
return (
464464
<Tooltip.Provider>
465-
<div
466-
data-testid="graphiql-container"
467-
className={`graphiql-container${className}`}
468-
>
465+
<div className={`graphiql-container${className}`}>
469466
<div className="graphiql-sidebar">
470467
<div className="graphiql-sidebar-section">
471468
{pluginContext?.plugins.map((plugin, index) => {

0 commit comments

Comments
 (0)