Oops, fix lint errors

This commit is contained in:
Emi Matchu 2021-04-21 21:27:10 -07:00
parent 3bb0c5e5a0
commit 2617052da0

View file

@ -29,7 +29,7 @@ import { IoCloudUploadOutline } from "react-icons/io5";
import { MdMoreVert } from "react-icons/md"; import { MdMoreVert } from "react-icons/md";
import useCurrentUser from "../components/useCurrentUser"; import useCurrentUser from "../components/useCurrentUser";
import gql from "graphql-tag"; import gql from "graphql-tag";
import { useApolloClient, useMutation } from "@apollo/client"; import { useMutation } from "@apollo/client";
/** /**
* ItemsPanel shows the items in the current outfit, and lets the user toggle * ItemsPanel shows the items in the current outfit, and lets the user toggle
@ -327,7 +327,7 @@ function useOutfitSaving(outfitState) {
cache.modify({ cache.modify({
id: cache.identify(outfit.creator), id: cache.identify(outfit.creator),
fields: { fields: {
outfits: (existingOutfitRefs = [], {}) => { outfits: (existingOutfitRefs = []) => {
const newOutfitRef = cache.writeFragment({ const newOutfitRef = cache.writeFragment({
data: outfit, data: outfit,
fragment: gql` fragment: gql`