diff --git a/packages/graphql-playground-react/src/components/Playground.tsx b/packages/graphql-playground-react/src/components/Playground.tsx index b23b38ef8..6ed13fb0e 100644 --- a/packages/graphql-playground-react/src/components/Playground.tsx +++ b/packages/graphql-playground-react/src/components/Playground.tsx @@ -62,7 +62,7 @@ export interface Props { subscriptionEndpoint?: string projectId?: string shareEnabled?: boolean - adminAuthToken?: string + fixedEndpoint?: boolean onSuccess?: (graphQLParams: any, response: any) => void isEndpoint?: boolean isApp?: boolean @@ -302,6 +302,7 @@ export class Playground extends React.PureComponent { ) : ( )} diff --git a/packages/graphql-playground-react/src/components/Playground/GraphQLEditor.tsx b/packages/graphql-playground-react/src/components/Playground/GraphQLEditor.tsx index e69514b7b..45ca83628 100644 --- a/packages/graphql-playground-react/src/components/Playground/GraphQLEditor.tsx +++ b/packages/graphql-playground-react/src/components/Playground/GraphQLEditor.tsx @@ -75,6 +75,7 @@ import { ResponseRecord } from '../../state/sessions/reducers' export interface Props { onRef?: any shareEnabled?: boolean + fixedEndpoint?: boolean schema?: GraphQLSchema } @@ -167,7 +168,10 @@ class GraphQLEditor extends React.PureComponent { return ( - +