Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: reorganize imports
Browse files Browse the repository at this point in the history
roshaans committed Jun 6, 2023
1 parent 67649b3 commit a2894bb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions frontend/src/components/Playground/graphiql.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import GraphiQL from "graphiql";
import { useState } from "react";
import { sessionStorage } from "near-social-bridge";
import "graphiql/graphiql.min.css";
import GraphiQL from "graphiql";
import { useExplorerPlugin } from '@graphiql/plugin-explorer';
import '@graphiql/plugin-explorer/dist/style.css';
import "graphiql/graphiql.min.css";

const HASURA_ENDPOINT =
process.env.NEXT_PUBLIC_HASURA_ENDPOINT ||
"https://queryapi-hasura-graphql-24ktefolwq-ew.a.run.app/v1/graphql";
import { useState } from "react";

const graphQLFetcher = async (graphQLParams, accountId) => {
const response = await fetch(HASURA_ENDPOINT, {
method: "post",

0 comments on commit a2894bb

Please sign in to comment.