mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Add some space between error message and close button
This commit is contained in:
parent
d0b5f63a22
commit
97e75805fa
1 changed files with 2 additions and 3 deletions
|
@ -462,9 +462,7 @@ export default class App extends Component {
|
|||
});
|
||||
|
||||
client.addEventListener("error", (event) => {
|
||||
this.setState({
|
||||
error: event.detail,
|
||||
});
|
||||
this.setState({ error: event.detail });
|
||||
});
|
||||
|
||||
this.createBuffer(netID, SERVER_BUFFER);
|
||||
|
@ -992,6 +990,7 @@ export default class App extends Component {
|
|||
error = html`
|
||||
<p id="error-msg">
|
||||
${this.state.error}
|
||||
${" "}
|
||||
<a href="#" onClick=${this.dismissError}>×</a>
|
||||
</p>
|
||||
`;
|
||||
|
|
Loading…
Reference in a new issue