[WEB-6038] fix: work item empty title flicker #8618
This commit is contained in:
parent
bcc8fb4d1d
commit
c93f9fc865
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ export const IssueTitleInput = observer(function IssueTitleInput(props: IssueTit
|
|||
} = props;
|
||||
const { t } = useTranslation();
|
||||
// states
|
||||
const [title, setTitle] = useState("");
|
||||
const [title, setTitle] = useState(value || "");
|
||||
const [isLengthVisible, setIsLengthVisible] = useState(false);
|
||||
// ref to track if there are unsaved changes
|
||||
const hasUnsavedChanges = useRef(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue