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,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>
);