Add theme toggle

This commit is contained in:
Thomas Nordquist
2019-04-03 01:55:57 +02:00
parent 84a92ad522
commit 6f86a8d471
6 changed files with 84 additions and 29 deletions

View File

@@ -284,7 +284,7 @@ class Publish extends React.Component<Props, State> {
private history() {
const items = this.state.history.reverse().map(message => ({
title: message.topic,
value: message.payload,
value: message.payload || '',
}))
return <History items={items} onClick={this.didSelectHistoryEntry} />