Changing the subMenuTitle in the context provider has led to an inability to add new documentation sources. (#959)
This commit is contained in:
parent
bb838f1546
commit
cd24ecf686
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ const MentionList = forwardRef((props: MentionListProps, ref) => {
|
|||
|
||||
useEffect(() => {
|
||||
const items = [...props.items];
|
||||
if (subMenuTitle === "Search documentation") {
|
||||
if (subMenuTitle === "Type to search docs") {
|
||||
items.push({
|
||||
title: "Add Docs",
|
||||
type: "action",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue