Skip to content

Commit

Permalink
Merge pull request #5 from saleor/remove-graphiql
Browse files Browse the repository at this point in the history
Remove reference to graphiql.cloud
  • Loading branch information
lkostrowski authored Nov 20, 2024
2 parents 5f82ac9 + 7946925 commit b1bfe0e
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ const Heading = (props: TextProps) => (
<Text as="h2" variant="heading" marginBottom={1.5} marginTop={9} {...props} />
);

const getGraphiqlExampleQueryPlaygroundUrl = (apiUrl = "https://demo.saleor.io/graphql/") =>
`https://graphiql.cloud/?endpoint=${apiUrl}#gql/N4IgjiBcILYK4BcCGCCWB7AdgAgMoFMEBZJVAGwGMALVGABwBUkBzACgBIK4BnBdGfACcAkgBFI2MQEIAlNmAAdHNjh0AJinwAFQagBumooSQbkrJdkvZUaiZx58BI0RaupMdRBOABrfAE8JBVhSShp6AH1kZm5ggBpsAzI4fCCQAG0FLJAmZmwARiz47CKclmwAJlKAXWCAX1c5RWVLIUF0QW55VytsAW5uFnwe7AblMbqQOJB0KBACYlDqWkYWEDqgA`;

export const Instructions = (props: PropsWithBox<{}>) => {
const [instructionsVisible, setInstructionsVisible] = useLocalStorage(
"instructions-visible",
Expand Down Expand Up @@ -90,12 +87,6 @@ export const Instructions = (props: PropsWithBox<{}>) => {
For example <code>mailchimp_tags: [&quot;Tag1&quot;, &quot;Tag2&quot;]</code>
</Text>
</Paragraph>
<Paragraph>
Check{" "}
<TextLink href={getGraphiqlExampleQueryPlaygroundUrl(appBridgeState?.saleorApiUrl)}>
example query
</TextLink>
</Paragraph>
</Box>
</Section>
);
Expand Down

0 comments on commit b1bfe0e

Please sign in to comment.