Add error reporting on connect and main page

This commit is contained in:
bbworld1
2020-08-07 21:08:51 -07:00
committed by Simon Ser
parent 96c890f1f5
commit 16582a6592
4 changed files with 49 additions and 13 deletions
+3 -1
View File
@@ -140,7 +140,9 @@ export default class Connect extends Component {
</details>
<br/>
${this.props.error ? html`
<p class="error-text">${this.props.error || ""}</p>
` : null}
<button disabled=${this.props.disabled}>Connect</button>
</form>
`;