fixed table render issue

This commit is contained in:
2025-01-17 18:48:20 -06:00
parent ca713cfdb0
commit bd82d62a2a
@@ -10,7 +10,7 @@ function ItemDetail() {
let params = useParams();
const { isPending, error, data, isFetching } = useQuery({
queryKey: ['inventory'],
queryKey: ['inventory', params.itemId],
queryFn: async (): Promise<InventoryItem> => {
const response = await fetch(
import.meta.env.VITE_API_URL + '/inventory/' + params.itemId,