prevent keymaps in the page
This commit is contained in:
parent
30641f1b75
commit
ea455059bd
2 changed files with 37 additions and 25 deletions
|
@ -9,7 +9,8 @@ import messages from './messages';
|
|||
|
||||
const store = createStore(reducers);
|
||||
const followComponent = new FollowComponent(window.document.body, store);
|
||||
const contentInputComponent = new ContentInputComponent(window, store);
|
||||
const contentInputComponent =
|
||||
new ContentInputComponent(window.document.body, store);
|
||||
store.subscribe(() => {
|
||||
try {
|
||||
followComponent.update();
|
||||
|
|
Reference in a new issue