Make linter happy
This commit is contained in:
parent
3be3ef3287
commit
e34698612a
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class UserList extends Component {
|
||||||
render({ data }) {
|
render({ data }) {
|
||||||
const el = document.createElement('div');
|
const el = document.createElement('div');
|
||||||
const colormap = interpolate(['#3465a4', '#729fcf', '#8ae234', '#fce94f', '#ef2929']);
|
const colormap = interpolate(['#3465a4', '#729fcf', '#8ae234', '#fce94f', '#ef2929']);
|
||||||
const colorAtIndex = (val) => colormap(Math.min(val / 22, 22));
|
const colorAtIndex = val => colormap(Math.min(val / 22, 22));
|
||||||
el.className = 'terminal';
|
el.className = 'terminal';
|
||||||
el.innerHTML = `
|
el.innerHTML = `
|
||||||
<div class="deco"><span class="prompt">user@c-beam></span> #who</div>
|
<div class="deco"><span class="prompt">user@c-beam></span> #who</div>
|
||||||
|
|
Loading…
Reference in a new issue