Add error reporting on connect and main page
This commit is contained in:
parent
96c890f1f5
commit
16582a6592
4 changed files with 49 additions and 13 deletions
|
@ -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>
|
||||
`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue