Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1197 | Rev 1199 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1197 Rev 1198
Línea 20... Línea 20...
20
  render() {
20
  render() {
21
    if (this.state.hasError) {
21
    if (this.state.hasError) {
22
      // You can render any custom fallback UI
22
      // You can render any custom fallback UI
23
      return (
23
      return (
24
        <Container>
24
        <Container>
25
          <Title>Something went wrong.</Title>
25
          <Title>Something went wrong, please reload the page</Title>
Línea 26... Línea 26...
26
 
26
 
27
          <ButtonPrimary
27
          <ButtonPrimary
28
            className='mt-3'
28
            className='mt-3'
29
            onClick={() => window.location.reload()}
29
            onClick={() => window.location.reload()}
30
            label='Reload page'
30
            label='Reload'
31
          />
31
          />
32
        </Container>
32
        </Container>
33
      )
33
      )