Skip to content

Commit

Permalink
refactor: reorganize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaans committed Jun 6, 2023
1 parent 67649b3 commit 15462a6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions frontend/src/components/Playground/graphiql.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
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",
Expand Down

0 comments on commit 15462a6

Please sign in to comment.