In progress update job mutation. Unknown how to have this use an input object.
This commit is contained in:
@@ -3,6 +3,7 @@ import { useQuery } from "react-apollo";
|
||||
import { Link } from "react-router-dom";
|
||||
import { GET_CURRENT_USER } from "../../graphql/local.queries";
|
||||
import { Icon } from "antd";
|
||||
import LoadingSpinner from "../loading-spinner/loading-spinner.component";
|
||||
|
||||
export default function ManageSignInButton() {
|
||||
const {
|
||||
@@ -11,9 +12,9 @@ export default function ManageSignInButton() {
|
||||
data: { currentUser }
|
||||
} = useQuery(GET_CURRENT_USER);
|
||||
|
||||
if (loading) return "MSI Loading";
|
||||
if (loading) return <LoadingSpinner />;
|
||||
if (error) return error.message;
|
||||
console.log("currentUser", currentUser);
|
||||
|
||||
return currentUser ? (
|
||||
<div>
|
||||
{" "}
|
||||
|
||||
Reference in New Issue
Block a user