feat(core): use double click to activate title renaming (#4214)

This commit is contained in:
Joooye_34
2023-09-08 01:12:07 +08:00
committed by GitHub
parent 185546b8ea
commit 96545c97d0
2 changed files with 6 additions and 6 deletions

View File

@@ -76,7 +76,7 @@ const StableTitle = ({
<span
data-testid="title-edit-button"
className={styles.titleEditButton}
onClick={onRename}
onDoubleClick={onRename}
>
{title || 'Untitled'}
</span>