diff --git a/client/src/utils/RenderTemplate.js b/client/src/utils/RenderTemplate.js index ad0545762..d8fcc27d6 100644 --- a/client/src/utils/RenderTemplate.js +++ b/client/src/utils/RenderTemplate.js @@ -1,14 +1,14 @@ -import { gql, selectHttpOptionsAndBody } from "@apollo/client"; +import { gql } from "@apollo/client"; import { notification } from "antd"; import axios from "axios"; import jsreport from "jsreport-browser-client-dist"; +import _ from "lodash"; import moment from "moment"; import { auth } from "../firebase/firebase.utils"; import { setEmailOptions } from "../redux/email/email.actions"; import { store } from "../redux/store"; import client from "../utils/GraphQLClient"; import { TemplateList } from "./TemplateConstants"; -import _ from "lodash"; const server = process.env.REACT_APP_REPORTS_SERVER_URL; jsreport.serverUrl = server;