fix the TimeEstimateCard opening
This commit is contained in:
@@ -24,7 +24,7 @@ export function BottomSheet({
|
||||
title={t("cart.selectTimeEstimate")}
|
||||
showCloseButton={true}
|
||||
initialSnap={1}
|
||||
height={510}
|
||||
height={555}
|
||||
snapPoints={["65vh"]}
|
||||
>
|
||||
<Content onSave={onSave} initialDate={initialDate} onClose={onClose} />
|
||||
|
||||
@@ -28,7 +28,13 @@ export default function TimeEstimateCard() {
|
||||
return (
|
||||
<>
|
||||
<ProInputCard title={t("cart.estimateTime")}>
|
||||
<Form.Item name="estimateWay" required rules={[{ required: true, message: t("cart.pleaseSelectEstimateTime") }]}>
|
||||
<Form.Item
|
||||
name="estimateWay"
|
||||
required
|
||||
rules={[
|
||||
{ required: true, message: t("cart.pleaseSelectEstimateTime") },
|
||||
]}
|
||||
>
|
||||
<ProRatioGroups
|
||||
options={[
|
||||
{ label: t("cart.now"), value: "now", price: "" },
|
||||
|
||||
Reference in New Issue
Block a user