mirror of
https://github.com/BarkProductions/barkman.git
synced 2026-06-12 22:11:54 +00:00
fixed table render issue
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user