product: fix "special request" save

This commit is contained in:
2025-11-05 19:15:02 +03:00
parent 4f6f3e146e
commit 29788df57e
2 changed files with 4 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import { Button, Input } from "antd";
import { ProBottomSheet } from "components/ProBottomSheet/ProBottomSheet.tsx";
import { useEffect, useState } from "react";
import { useState } from "react";
import { useTranslation } from "react-i18next";
const { TextArea } = Input;
@@ -21,10 +21,6 @@ export function BottomSheet({
const { t } = useTranslation();
const [value, setValue] = useState(initialValue);
useEffect(() => {
setValue(initialValue);
}, [initialValue]);
const handleSave = () => {
onSave(value);
onClose();