menu: enhance styles

This commit is contained in:
2025-12-21 23:00:41 +03:00
parent b149fabfc9
commit f580653ef2
4 changed files with 29 additions and 17 deletions

View File

@@ -18,6 +18,7 @@ export default function CheckoutPage() {
const { t } = useTranslation();
const [form] = Form.useForm();
const { phone, order, orderType } = useAppSelector(selectCart);
const { token } = useAppSelector((state) => state.auth);
return (
<>
<Form
@@ -31,7 +32,7 @@ export default function CheckoutPage() {
<ProHeader>{t("checkout.title")}</ProHeader>
<Layout.Content className={styles.checkoutContainer}>
<AddressSummary />
<PhoneCard />
{!token && <PhoneCard />}
{orderType === OrderType.ToRoom && (
<InputCard
title={t("address.roomNo")}