mirror of
https://github.com/makeplane/plane.git
synced 2026-02-24 04:00:14 +01:00
[WEB-6038] fix: work item empty title flicker #8618
This commit is contained in:
committed by
GitHub
parent
bcc8fb4d1d
commit
c93f9fc865
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user