ok
This commit is contained in:
@@ -96,6 +96,7 @@ function App() {
|
||||
if (response.status === 200) {
|
||||
setShop(cafe);
|
||||
setShopItems(data);
|
||||
console.log(data)
|
||||
// Filter out unavailable items
|
||||
const filteredData = data
|
||||
.map((itemType) => ({
|
||||
@@ -424,6 +425,7 @@ function App() {
|
||||
shopName={shop.name}
|
||||
shopOwnerId={shop.ownerId}
|
||||
shopItems={shopItems}
|
||||
setShopItems={setShopItems}
|
||||
shopClerks={shopClerks}
|
||||
socket={socket}
|
||||
user={user}
|
||||
|
||||
Reference in New Issue
Block a user