fix: antd.Tooltip Warning

main
LiaoYijun 2 months ago
parent e9fecc13bc
commit afd23641c3

@ -258,11 +258,10 @@ const ProductInfoQuotation = ({ editable, ...props }) => {
{t("products:unit_name")}{" "}
<Tooltip
placement="top"
overlayInnerStyle={{ width: "24rem" }}
title={t("products:FormTooltip.PriceUnit")}
>
<QuestionCircleOutlined className="text-gray-500" />
</Tooltip>{" "}
</Tooltip>
</>
),
dataIndex: "unit_id",
@ -283,11 +282,11 @@ const ProductInfoQuotation = ({ editable, ...props }) => {
{t("products:use_dates")}{" "}
<Tooltip
placement="top"
overlayInnerStyle={{ width: "24rem" }}
styles={{ body: {width: "24rem"} }}
title={t("products:FormTooltip.UseDates")}
>
<QuestionCircleOutlined className="text-gray-500" />
</Tooltip>{" "}
</Tooltip>
</>
),
dataIndex: "use_dates",

Loading…
Cancel
Save