Skip to content

Commit e6b8f88

Browse files
committed
ref: #187 delete accidentaly
1 parent 9da5146 commit e6b8f88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/04_Callback/src/nameEdit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const NameEditComponent: React.FC<Props> = (props) => {
1313
};
1414

1515
const onNameSubmit = (event: any): any => {
16-
props.
16+
props.onNameUpdated(editingName);
1717
};
1818

1919
return (

0 commit comments

Comments
 (0)