Package cleanup & transition to latest apollo.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user