aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/console/components/console.jsx6
-rw-r--r--src/console/components/console/completion.jsx3
2 files changed, 6 insertions, 3 deletions
diff --git a/src/console/components/console.jsx b/src/console/components/console.jsx
index f8213db..7994f78 100644
--- a/src/console/components/console.jsx
+++ b/src/console/components/console.jsx
@@ -107,7 +107,11 @@ class ConsoleComponent extends Component {
case 'command':
case 'find':
return <div className='vimvixen-console-command-wrapper'>
- <Completion size={COMPLETION_MAX_ITEMS} />
+ <Completion
+ size={COMPLETION_MAX_ITEMS}
+ completions={this.props.completions}
+ select={this.props.select}
+ />
<Input
ref={(c) => { this.input = c; }}
mode={this.props.mode}
diff --git a/src/console/components/console/completion.jsx b/src/console/components/console/completion.jsx
index ae081e6..be6b93f 100644
--- a/src/console/components/console/completion.jsx
+++ b/src/console/components/console/completion.jsx
@@ -87,5 +87,4 @@ class CompletionComponent extends Component {
}
}
-const mapStateToProps = state => state;
-export default connect(mapStateToProps)(CompletionComponent);
+export default CompletionComponent;