main
Last change
on this file since 433e0c5 was 433e0c5, checked in by anastasovv <simon@…>, 2 years ago |
Added complaints, managing credits, and lost connection screens
|
-
Property mode
set to
100644
|
File size:
625 bytes
|
Line | |
---|
1 | import React from 'react'
|
---|
2 |
|
---|
3 | import { useSelector } from 'react-redux'
|
---|
4 |
|
---|
5 | const LostConnection = () => {
|
---|
6 | const styleState = useSelector(state => state.style);
|
---|
7 |
|
---|
8 | return (
|
---|
9 | <div className="fullscreen fs-centered lostConnectionScreen" style={{display: styleState.style.lostConnectionInfo.show ? 'block' : 'none', zIndex: 100}}>
|
---|
10 | <div>
|
---|
11 | <h3>Lost connection to the server.</h3>
|
---|
12 | <h3>This is a server error. Nothing you can do.</h3>
|
---|
13 | <h3>{styleState.style.lostConnectionInfo.message}</h3>
|
---|
14 | </div>
|
---|
15 | </div>
|
---|
16 | )
|
---|
17 | }
|
---|
18 |
|
---|
19 | export default LostConnection |
---|
Note:
See
TracBrowser
for help on using the repository browser.