wip.. initial setup for preact integration into main app

This commit is contained in:
Ginger Wong
2020-08-20 12:59:07 -07:00
parent 756311f03c
commit 136a575973
5 changed files with 390 additions and 1 deletions

View File

@@ -111,7 +111,7 @@ export default class ChatInput extends Component {
return false;
}
const partial = inputHTML.substring(at + 1, position).trim();
let partial = inputHTML.substring(at + 1, position).trim();
if (partial === this.suggestion) {
partial = this.partial;

View File

@@ -54,6 +54,7 @@ export default class StandaloneChat extends Component {
`);
}
// not needed for standalone, just messages only. remove later.
return (
html`
<${Fragment}>