use only unpkg/preact + htm consistently for all components

This commit is contained in:
Ginger Wong
2020-08-23 21:41:02 -07:00
parent 3d6e9feeaf
commit 940b6df86b
11 changed files with 19 additions and 15 deletions

View File

@@ -1,4 +1,6 @@
import { html, Component } from "https://unpkg.com/htm/preact/index.mjs?module";
import { h, Component } from 'https://unpkg.com/preact?module';
import htm from 'https://unpkg.com/htm?module';
const html = htm.bind(h);
import { messageBubbleColorForString } from '../../utils/user-colors.js';
import { formatMessageText } from '../../utils/chat.js';