This commit is contained in:
zadit
2025-01-18 07:42:39 +07:00
parent b111195491
commit 6b95656c4d
12 changed files with 548 additions and 44 deletions

View File

@@ -24,6 +24,7 @@ import { unsubscribeUser } from "../helpers/subscribeHelpers.js";
import WelcomePage from "./WelcomePage.js";
function CafePage({
shopId,
table,
sendParam,
welcomePageConfig,
@@ -44,9 +45,9 @@ function CafePage({
const location = useLocation();
const [searchParams] = useSearchParams();
const token = searchParams.get("token");
const { shopId, tableCode } = useParams();
sendParam({ shopId, tableCode });
const { shopIdentifier, tableCode } = useParams();
sendParam({ shopIdentifier, tableCode });
const navigate = useNavigate();
const [screenMessage, setScreenMessage] = useState("");