Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit bd29a56

Browse files
committed
Fix LinkEditor click.
1 parent 9dd8899 commit bd29a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/LinkEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class LinkEditor extends React.Component<Props, State> {
218218

219219
handleOpenLink = (event): void => {
220220
event.preventDefault();
221-
this.props.onClickLink(this.href, event);
221+
this.props.onClickLink(this.state.value, event);
222222
};
223223

224224
handleCreateLink = (value: string) => {

0 commit comments

Comments
 (0)