8000 Fix key error. (#671) · nsavas2000/python-editor-v3@cc9300f · GitHub
[go: up one dir, main page]

Skip to content

Commit cc9300f

Browse files
Fix key error. (microbit-foundation#671)
1 parent 2506ea0 commit cc9300f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/project/ProjectNameEditable.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const ProjectNameEditable = ({
6161
hasArrow
6262
label={intl.formatMessage({ id: "edit-name-project-hover" })}
6363
placement="top-start"
64+
key="button"
6465
>
6566
<IconButton
6667
size="md"
@@ -75,6 +76,7 @@ const ProjectNameEditable = ({
7576
);
7677
const text = (
7778
<Text
79+
key="text"
7880
cursor={clickToEdit ? "pointer" : undefined}
7981
onClick={clickToEdit ? handleEdit : undefined}
8082
{...props}

0 commit comments

Comments
 (0)
0