Skip to content

Commit

Permalink
LinkControl: don't send currentInputValue to URLInput, it already doe…
Browse files Browse the repository at this point in the history
…s it internally
  • Loading branch information
jsnajdr committed Nov 28, 2022
1 parent 3ff9d20 commit 3656e40
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,10 @@ The following properties are provided by URLInput:
- suggestions
- selectedSuggestion
- suggestionsListProps
- currentInputValue
The following extra properties are provided by LinkControlSearchInput:
- currentInputValue
- createSuggestionButtonText
- handleSuggestionClick
- instanceId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ const LinkControlSearchInput = forwardRef(
...props,
instanceId,
withCreateSuggestion,
currentInputValue: value,
createSuggestionButtonText,
suggestionsQuery,
handleSuggestionClick: ( suggestion ) => {
Expand Down

0 comments on commit 3656e40

Please sign in to comment.