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,5 +1,5 @@
import React from "react";
import { useQuery, useMutation } from "@apollo/react-hooks";
import { useQuery, useMutation } from "@apollo/client";
import {
QUERY_ALL_ASSOCIATIONS,
UPDATE_ASSOCIATION,
@@ -26,7 +26,7 @@ export default function ProfileShopsContainer() {
refetch();
};
if (error) return <AlertComponent type='error' message={error.message} />;
if (error) return <AlertComponent type="error" message={error.message} />;
return (
<ProfileShopsComponent
loading={loading}