mirror of
https://github.com/docmost/docmost.git
synced 2026-09-11 07:56:54 +08:00
minor fix
This commit is contained in:
@@ -30,7 +30,7 @@ export function RowDetailTitle({
|
|||||||
onEditingChange?.(false);
|
onEditingChange?.(false);
|
||||||
if (cancelRef.current) {
|
if (cancelRef.current) {
|
||||||
cancelRef.current = false;
|
cancelRef.current = false;
|
||||||
setValue(initial)
|
setValue(initial);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (value !== initial) onCommit(value);
|
if (value !== initial) onCommit(value);
|
||||||
|
|||||||
Reference in New Issue
Block a user