diff --git a/src/app/WardrobePage/ItemsPanel.js b/src/app/WardrobePage/ItemsPanel.js index 17d72c7..1ffb1d3 100644 --- a/src/app/WardrobePage/ItemsPanel.js +++ b/src/app/WardrobePage/ItemsPanel.js @@ -25,6 +25,7 @@ import Item, { ItemListContainer, ItemListSkeleton } from "./Item"; import { BiRename } from "react-icons/bi"; import { IoCloudUploadOutline } from "react-icons/io5"; import { MdMoreVert } from "react-icons/md"; +import useCurrentUser from "../components/useCurrentUser"; /** * ItemsPanel shows the items in the current outfit, and lets the user toggle @@ -250,6 +251,8 @@ function ItemZoneGroupSkeleton({ itemCount }) { * It also contains the outfit menu, for saving etc. */ function OutfitHeading({ outfitState, dispatchToOutfit }) { + const { isLoggedIn } = useCurrentUser(); + return ( // The Editable wraps everything, including the menu, because the menu has // a Rename option. @@ -274,24 +277,29 @@ function OutfitHeading({ outfitState, dispatchToOutfit }) { - - - - + Save + + + + + )} +