ok
This commit is contained in:
@@ -13,9 +13,9 @@ import {
|
||||
|
||||
import { getItemsByCafeId } from "../helpers/cartHelpers.js";
|
||||
|
||||
export default function Invoice({ table, sendParam, deviceType, socket }) {
|
||||
const { shopId, tableCode } = useParams();
|
||||
sendParam({ shopId, tableCode });
|
||||
export default function Invoice({ shopId, table, sendParam, deviceType, socket }) {
|
||||
const { shopIdentifier, tableCode } = useParams();
|
||||
sendParam({ shopIdentifier, tableCode });
|
||||
|
||||
const [cartItems, setCartItems] = useState([]);
|
||||
const [totalPrice, setTotalPrice] = useState(0);
|
||||
|
||||
Reference in New Issue
Block a user