diff --git a/packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/index.js b/packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/index.js index 954efebf..01ce6f32 100644 --- a/packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/index.js +++ b/packages/bruno-app/src/components/RequestPane/GraphQLSchemaActions/index.js @@ -1,6 +1,6 @@ import React, { useEffect, useRef, forwardRef } from 'react'; import useGraphqlSchema from './useGraphqlSchema'; -import { IconBook, IconDownload, IconLoader2, IconCheckmark } from '@tabler/icons'; +import { IconBook, IconDownload, IconLoader2, IconRefresh } from '@tabler/icons'; import get from 'lodash/get'; import { findEnvironmentInCollection } from 'utils/collections'; import Dropdown from '../../Dropdown'; @@ -30,8 +30,8 @@ const GraphQLSchemaActions = ({ item, collection, onSchemaLoad, toggleDocs }) => return (
{isSchemaLoading && } - {!isSchemaLoading && schema && } - {!isSchemaLoading && !schema && } + {!isSchemaLoading && schema && } + {!isSchemaLoading && !schema && } Schema
);