Skip to content

Commit

Permalink
Fixed bug in API call that stopped ItemTable from loading items
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Campbell committed Oct 20, 2020
1 parent a92fedb commit 849d080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ItemTable/ItemTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function ItemTable({ setActiveItem, setSidebarOpen }) {
useEffect(() => {
fetch("/api/ce")
.then(res => res.json())
.then(queue => setData(queue))
.then(queue => setData(queue.items))
}, [])

const options = {
Expand Down

0 comments on commit 849d080

Please sign in to comment.