"use client";
import { Box, Button, Container } from "@mui/material";
import Grid from "@mui/material/Grid2";
import React, { useCallback, useState } from "react";
import { useTranslation } from "react-i18next";
import CheckoutScreen from "@app/selfcheckout/checkout/page";
import Title from "@atoms/Title";
const PreCheckout: React.FC = () => {
const { t } = useTranslation();
const [stage, setStage] = useState<"precheckout" | "searching" | "checkout">("precheckout");
const handleStartCheckout = useCallback(() => {
setStage("checkout");
}, []);
const handleEndTransaction = () => {
setStage("precheckout");
};
if (stage === "checkout") {
return ;
}
return (
);
};
export default PreCheckout;