progress? pt2

This commit is contained in:
2025-01-15 11:51:21 -06:00
parent d1e5f7c61c
commit 3f6104aa9d
+1 -2
View File
@@ -1,7 +1,6 @@
import {useQuery} from "@tanstack/react-query"; import {useQuery} from "@tanstack/react-query";
import {Link} from "react-router"; import {Link} from "react-router";
import inventory from "./inventory.tsx"; import inventory from "./inventory.tsx";
import { Key, ReactElement, JSXElementConstructor, ReactNode, ReactPortal } from "react";
function Inventory() { function Inventory() {
@@ -43,7 +42,7 @@ function Inventory() {
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{data.map((data: { id: Key | null | undefined; brand: string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | null | undefined; name: string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | null | undefined; status: string | number | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | null | undefined; }) => ( {data.map((data) => (
<tr key={data.id}> <tr key={data.id}>
<td>{data.brand}</td> <td>{data.brand}</td>
<td>{data.name}</td> <td>{data.name}</td>