Package cleanup & transition to latest apollo.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useMutation } from "@apollo/react-hooks";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { Button, notification, Popconfirm } from "antd";
|
||||
import queryString from "query-string";
|
||||
import React from "react";
|
||||
@@ -40,7 +40,8 @@ export default function ShopTemplateDeleteComponent({ templateId, refetch }) {
|
||||
title={t("general.labels.areyousure")}
|
||||
okText={t("general.labels.yes")}
|
||||
cancelText={t("general.labels.no")}
|
||||
onConfirm={handleDelete}>
|
||||
onConfirm={handleDelete}
|
||||
>
|
||||
<Button>{t("general.actions.delete")}</Button>
|
||||
</Popconfirm>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user