From a882ba3f61e0f72cf36396c97aa98bbb5da35a97 Mon Sep 17 00:00:00 2001 From: gatzjames Date: Wed, 29 May 2024 12:12:19 +0200 Subject: [PATCH] graphql toolbar css --- .../src/ui/components/editors/body/graph-ql-editor.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/insomnia/src/ui/components/editors/body/graph-ql-editor.tsx b/packages/insomnia/src/ui/components/editors/body/graph-ql-editor.tsx index d036c60ba48a..0565869077ef 100644 --- a/packages/insomnia/src/ui/components/editors/body/graph-ql-editor.tsx +++ b/packages/insomnia/src/ui/components/editors/body/graph-ql-editor.tsx @@ -8,7 +8,7 @@ import { DefinitionNode, DocumentNode, GraphQLNonNull, GraphQLSchema, Kind, NonN import { buildClientSchema, getIntrospectionQuery } from 'graphql/utilities'; import { Maybe } from 'graphql-language-service'; import React, { FC, useEffect, useRef, useState } from 'react'; -import { Button } from 'react-aria-components'; +import { Button, Toolbar } from 'react-aria-components'; import ReactDOM from 'react-dom'; import { useLocalStorage } from 'react-use'; @@ -28,7 +28,6 @@ import { CodeEditor, CodeEditorHandle } from '../../codemirror/code-editor'; import { GraphQLExplorer } from '../../graph-ql-explorer/graph-ql-explorer'; import { ActiveReference } from '../../graph-ql-explorer/graph-ql-types'; import { HelpTooltip } from '../../help-tooltip'; -import { Toolbar } from '../../key-value-editor/key-value-editor'; import { useDocBodyKeyboardShortcuts } from '../../keydown-binder'; import { TimeFromNow } from '../../time-from-now'; @@ -470,7 +469,7 @@ export const GraphQLEditor: FC = ({ const canShowSchema = schema && !schemaIsFetching && !schemaFetchError && schemaLastFetchTime > 0; return (
- +