From ee94f413aea3a10babf2d2ae503eedc26f121aeb Mon Sep 17 00:00:00 2001 From: Bill Date: Mon, 13 Dec 2021 00:44:07 -0500 Subject: [PATCH] Update inventory --- .../inventory/views/furniture/InventoryFurnitureItemView.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/inventory/views/furniture/InventoryFurnitureItemView.tsx b/src/components/inventory/views/furniture/InventoryFurnitureItemView.tsx index ca18df9c..8a428146 100644 --- a/src/components/inventory/views/furniture/InventoryFurnitureItemView.tsx +++ b/src/components/inventory/views/furniture/InventoryFurnitureItemView.tsx @@ -1,6 +1,6 @@ import { MouseEventType } from '@nitrots/nitro-renderer'; import { FC, MouseEvent, useCallback, useEffect, useState } from 'react'; -import { NitroCardGridItemView } from '../../../../layout/card/grid/item/NitroCardGridItemView'; +import { LayoutGridItem } from '../../../../common/layout/LayoutGridItem'; import { attemptItemPlacement } from '../../common/FurnitureUtilities'; import { GroupItem } from '../../common/GroupItem'; import { useInventoryContext } from '../../context/InventoryContext'; @@ -15,7 +15,6 @@ export const InventoryFurnitureItemView: FC = p { const { groupItem } = props; const { furnitureState, dispatchFurnitureState } = useInventoryContext(); - const { tradeData = null } = furnitureState; const [ isMouseDown, setMouseDown ] = useState(false); const isActive = (furnitureState.groupItem === groupItem); @@ -51,5 +50,5 @@ export const InventoryFurnitureItemView: FC = p const count = groupItem.getUnlockedCount(); - return ; + return ; }