LoyaltyCard: hide "claim" btn

This commit is contained in:
2025-11-10 13:04:16 +03:00
parent 440686fb62
commit ca2d1aa598

View File

@@ -1,11 +1,11 @@
import { Button, Card, Col, Image, Row } from "antd";
import { Card, Col, Image, Row } from "antd";
import LoyaltyIcon from "components/Icons/cart/LoyaltyIcons";
import PresentIcon from "components/Icons/cart/PresentIcon";
import { useTranslation } from "react-i18next";
import { Link, useParams } from "react-router-dom";
import { useGetRestaurantDetailsQuery } from "redux/api/others";
import { ACCESS_TOKEN } from "utils/constants";
import { colors } from "../../ThemeConstants";
import { colors } from "ThemeConstants.ts";
import ProText from "../ProText";
import styles from "./LoyaltyCard.module.css";
@@ -19,7 +19,6 @@ const LoyaltyCard = () => {
(restaurant?.customer_loyalty_points || 0) <=
0;
return (
<div className={styles.loyaltyContainer}>
<Card className={styles.loyaltyCard}>
@@ -123,7 +122,7 @@ const LoyaltyCard = () => {
</div>
</div>
</Col>
<Col>
{/* <Col>
<Button
style={{
backgroundColor: colors.primary,
@@ -134,7 +133,7 @@ const LoyaltyCard = () => {
>
{t("menu.claim")}
</Button>
</Col>
</Col> */}
</Row>
)}
</Card>