Split MessageEditor in edit-specifics & reusable part for main composer
This commit is contained in:
parent
e8fcfbe2bf
commit
299cf8542c
6 changed files with 273 additions and 163 deletions
|
@ -65,5 +65,5 @@ export function createPartCreator(completions = []) {
|
|||
const autoCompleteCreator = (partCreator) => {
|
||||
return (updateCallback) => new MockAutoComplete(updateCallback, partCreator, completions);
|
||||
};
|
||||
return new PartCreator(autoCompleteCreator, new MockRoom(), new MockClient());
|
||||
return new PartCreator(new MockRoom(), new MockClient(), autoCompleteCreator);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue