<reponame>kensiebliss/metaboss
import React from "react"
import ReactDOM from "react-dom"
import App from "./App"
import Client from "graphql-js-client"
import typeBundle from "./types"
import "./app.css"

const STOREFRONT_API_KEY = "<KEY>"
const API_PASSWORD = "<PASSWORD>"

export const client = new Client(typeBundle, {
  url: "https://kensieblissdev.myshopify.com/api/2020-07/graphql.json",
  fetcherOptions: {
    headers: {
      "X-Shopify-Storefront-Access-Token": STOREFRONT_API_KEY,
      // "Content-Type": "application/json",
    },
  },
})

ReactDOM.render(<App client={client} />, document.getElementById("root"))
