Skip to content

Commit

Permalink
fix: add proper import for autosuggest plugins
Browse files Browse the repository at this point in the history
Refs #2710
  • Loading branch information
char0n committed Nov 3, 2021
1 parent 30fecfc commit f96b858
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/plugins/editor-autosuggest-keywords/index.js
Original file line number Diff line number Diff line change
@@ -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 },
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/editor-autosuggest-oas3-keywords/index.js
Original file line number Diff line number Diff line change
@@ -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 },
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/editor-autosuggest-refs/index.js
Original file line number Diff line number Diff line change
@@ -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 },
}
}
}
Expand Down

0 comments on commit f96b858

Please sign in to comment.