From 2617052da07f21a8cf5b89b1f70f253ecfdb3d03 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 21 Apr 2021 21:27:10 -0700 Subject: [PATCH] Oops, fix lint errors --- src/app/WardrobePage/ItemsPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/WardrobePage/ItemsPanel.js b/src/app/WardrobePage/ItemsPanel.js index c6e4d52..95026d4 100644 --- a/src/app/WardrobePage/ItemsPanel.js +++ b/src/app/WardrobePage/ItemsPanel.js @@ -29,7 +29,7 @@ import { IoCloudUploadOutline } from "react-icons/io5"; import { MdMoreVert } from "react-icons/md"; import useCurrentUser from "../components/useCurrentUser"; 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 @@ -327,7 +327,7 @@ function useOutfitSaving(outfitState) { cache.modify({ id: cache.identify(outfit.creator), fields: { - outfits: (existingOutfitRefs = [], {}) => { + outfits: (existingOutfitRefs = []) => { const newOutfitRef = cache.writeFragment({ data: outfit, fragment: gql`