diff --git a/src/plugins/editor-autosuggest-keywords/index.js b/src/plugins/editor-autosuggest-keywords/index.js index 060549a5b68..cf029a4e377 100644 --- a/src/plugins/editor-autosuggest-keywords/index.js +++ b/src/plugins/editor-autosuggest-keywords/index.js @@ -1,10 +1,10 @@ -import * as wrapActions from "./wrap-actions" +import { addAutosuggestionCompleters } from "./wrap-actions" export default function EditorAutosuggestKeywordsPlugin() { return { statePlugins: { editor: { - wrapActions, + wrapActions: { addAutosuggestionCompleters }, } } } diff --git a/src/plugins/editor-autosuggest-oas3-keywords/index.js b/src/plugins/editor-autosuggest-oas3-keywords/index.js index bf1ffc3e269..f6861dc1d36 100644 --- a/src/plugins/editor-autosuggest-oas3-keywords/index.js +++ b/src/plugins/editor-autosuggest-oas3-keywords/index.js @@ -1,10 +1,10 @@ -import * as wrapActions from "./wrap-actions" +import { addAutosuggestionCompleters } from "./wrap-actions" export default function EditorAutosuggestOAS3KeywordsPlugin() { return { statePlugins: { editor: { - wrapActions, + wrapActions: { addAutosuggestionCompleters }, } } } diff --git a/src/plugins/editor-autosuggest-refs/index.js b/src/plugins/editor-autosuggest-refs/index.js index 806a5c0ee66..39b48efa247 100644 --- a/src/plugins/editor-autosuggest-refs/index.js +++ b/src/plugins/editor-autosuggest-refs/index.js @@ -1,10 +1,10 @@ -import * as wrapActions from "./wrap-actions" +import { addAutosuggestionCompleters } from "./wrap-actions" export default function EditorAutosuggestRefsPlugin() { return { statePlugins: { editor: { - wrapActions, + wrapActions: { addAutosuggestionCompleters }, } } }