rename to ItemLayerSupportModal
the old name was clunky! this is better!
This commit is contained in:
parent
fb51eeec5b
commit
d7d7a345a0
3 changed files with 10 additions and 6 deletions
|
@ -30,7 +30,11 @@ import useOutfitAppearance, {
|
||||||
} from "../../components/useOutfitAppearance";
|
} from "../../components/useOutfitAppearance";
|
||||||
import useSupportSecret from "./useSupportSecret";
|
import useSupportSecret from "./useSupportSecret";
|
||||||
|
|
||||||
function ItemSupportAppearanceLayerModal({
|
/**
|
||||||
|
* ItemLayerSupportModal offers Support info and tools for a specific item
|
||||||
|
* appearance layer. Open it by clicking a layer from ItemSupportDrawer.
|
||||||
|
*/
|
||||||
|
function ItemLayerSupportModal({
|
||||||
item,
|
item,
|
||||||
itemLayer,
|
itemLayer,
|
||||||
outfitState,
|
outfitState,
|
||||||
|
@ -166,7 +170,7 @@ function ItemSupportAppearanceLayerModal({
|
||||||
</MetadataValue>
|
</MetadataValue>
|
||||||
</Metadata>
|
</Metadata>
|
||||||
<Box height="8" />
|
<Box height="8" />
|
||||||
<ItemSupportAppearanceLayerPetCompatibility
|
<ItemLayerSupportPetCompatibilityFields
|
||||||
item={item}
|
item={item}
|
||||||
itemLayer={itemLayer}
|
itemLayer={itemLayer}
|
||||||
outfitState={outfitState}
|
outfitState={outfitState}
|
||||||
|
@ -201,7 +205,7 @@ function ItemSupportAppearanceLayerModal({
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function ItemSupportAppearanceLayerPetCompatibility({
|
function ItemLayerSupportPetCompatibilityFields({
|
||||||
item,
|
item,
|
||||||
itemLayer,
|
itemLayer,
|
||||||
outfitState,
|
outfitState,
|
||||||
|
@ -342,4 +346,4 @@ function MetadataValue({ children }) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ItemSupportAppearanceLayerModal;
|
export default ItemLayerSupportModal;
|
|
@ -25,7 +25,7 @@ import {
|
||||||
} from "@chakra-ui/core";
|
} from "@chakra-ui/core";
|
||||||
import { CheckCircleIcon, EditIcon, ExternalLinkIcon } from "@chakra-ui/icons";
|
import { CheckCircleIcon, EditIcon, ExternalLinkIcon } from "@chakra-ui/icons";
|
||||||
|
|
||||||
import ItemSupportAppearanceLayerModal from "./ItemSupportAppearanceLayerModal";
|
import ItemLayerSupportModal from "./ItemLayerSupportModal";
|
||||||
import { OutfitLayers } from "../../components/OutfitPreview";
|
import { OutfitLayers } from "../../components/OutfitPreview";
|
||||||
import useOutfitAppearance from "../../components/useOutfitAppearance";
|
import useOutfitAppearance from "../../components/useOutfitAppearance";
|
||||||
import useSupportSecret from "./useSupportSecret";
|
import useSupportSecret from "./useSupportSecret";
|
||||||
|
@ -315,7 +315,7 @@ function ItemSupportAppearanceLayer({
|
||||||
>
|
>
|
||||||
<EditIcon boxSize="16px" position="relative" top="-2px" right="-1px" />
|
<EditIcon boxSize="16px" position="relative" top="-2px" right="-1px" />
|
||||||
</Box>
|
</Box>
|
||||||
<ItemSupportAppearanceLayerModal
|
<ItemLayerSupportModal
|
||||||
item={item}
|
item={item}
|
||||||
itemLayer={itemLayer}
|
itemLayer={itemLayer}
|
||||||
outfitState={outfitState}
|
outfitState={outfitState}
|
||||||
|
|
Loading…
Reference in a new issue