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