From 8faa51980e7b6cd42aa82c3139642638d5887588 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Fri, 12 Mar 2021 17:38:30 -0500 Subject: [PATCH] FIx hard coded item values --- src/components/ItemView/ItemView.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/ItemView/ItemView.js b/src/components/ItemView/ItemView.js index ce6e65e..24ad9c6 100644 --- a/src/components/ItemView/ItemView.js +++ b/src/components/ItemView/ItemView.js @@ -10,8 +10,7 @@ import ItemHeaderView from "../ItemHeaderView"; import { useItem, useItemSetter } from "../ItemProvider"; import { useToken } from "../AuthProvider/"; -export default function ItemView() { - let { queue, number } = {queue: "test", number: 1}; +export default function ItemView({ queue, number }) { // Set stateful variables const [activeTab, setActiveTab] = useState('Conversation'); const [isLoading, setIsLoading] = useState(false);