Package cleanup & transition to latest apollo.

This commit is contained in:
Patrick Fic
2021-02-24 08:48:55 -08:00
parent 359edea97c
commit 46014261d6
202 changed files with 31740 additions and 1174 deletions

View File

@@ -1,6 +1,6 @@
import React, { useState } from "react";
import { Button, notification } from "antd";
import { useMutation } from "@apollo/react-hooks";
import { useMutation } from "@apollo/client";
import { useTranslation } from "react-i18next";
import { UPDATE_TEMPLATE } from "../../graphql/templates.queries";
import { logImEXEvent } from "../../firebase/firebase.utils";
@@ -22,7 +22,7 @@ export default function ShopTemplateSaveButton({
html: data.html,
url: `${window.location.protocol}://${window.location.host}/`,
});
const result = await updateTemplate({
variables: {
templateId: templateId,