Skip to content

Commit

Permalink
fix: hardcoded query in context dropdown (#176)
Browse files Browse the repository at this point in the history
* Update Readme

* Fixed hardoced query

* fixed parehtsesis

Co-authored-by: Francois-Xavier P. Darveau <955524+EFF@users.noreply.github.com>
  • Loading branch information
ierezell and EFF committed Nov 1, 2021
1 parent 5231b24 commit 4e8cb8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const ContextSelector: FC<Props> = props => {
const createNewItemRenderer = (query: string, active: boolean, handleClick) => (
<MenuItem
icon="plus"
text={lang.tr('nlu.intents.contextSelectorCreateMissing')}
text={lang.tr('nlu.intents.contextSelectorCreateMissing', { query })}
active={active}
onClick={handleClick}
shouldDismissPopover={false}
Expand Down

0 comments on commit 4e8cb8d

Please sign in to comment.