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

Commit

Permalink
Fix LinkEditor click.
Browse files Browse the repository at this point in the history
  • Loading branch information
mltucker committed Sep 1, 2021
1 parent 9dd8899 commit bd29a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LinkEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class LinkEditor extends React.Component<Props, State> {

handleOpenLink = (event): void => {
event.preventDefault();
this.props.onClickLink(this.href, event);
this.props.onClickLink(this.state.value, event);
};

handleCreateLink = (value: string) => {
Expand Down

0 comments on commit bd29a56

Please sign in to comment.