chore: refactor request type names

This commit is contained in:
Anoop M D
2022-10-14 00:43:03 +05:30
parent 6b0ccac1bf
commit 097a6240ad
9 changed files with 20 additions and 20 deletions

View File

@@ -112,7 +112,7 @@ const RequestTabPanel = () => {
className="px-4"
style={{width: `${leftPaneWidth}px`, height: 'calc(100% - 5px)'}}
>
{item.type === 'graphql-request' ? (
{item.type === 'graphql' ? (
<GraphQLRequestPane
onRunQuery={runQuery}
schema={schema}
@@ -122,7 +122,7 @@ const RequestTabPanel = () => {
/>
) : null}
{item.type === 'http-request' ? (
{item.type === 'http' ? (
<HttpRequestPane
item={item}
collection={collection}