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 16, 2022
1 parent 92bf8d3 commit 458a775
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
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
Expand Up @@ -81,7 +81,6 @@ const LinkControlSearchInput = forwardRef(
...props,
instanceId,
withCreateSuggestion,
currentInputValue: value,
createSuggestionButtonText,
suggestionsQuery,
handleSuggestionClick: ( suggestion ) => {
Expand Down

0 comments on commit 458a775

Please sign in to comment.