Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1200 Rev 1202
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { connect } from 'react-redux'
2
import { connect } from 'react-redux'
3
import { addNotification } from '../../redux/notification/notification.actions'
-
 
4
import { Container } from '@mui/material'
3
import { Container } from '@mui/material'
-
 
4
 
-
 
5
import { addNotification } from '../../redux/notification/notification.actions'
5
import { ButtonPrimary } from '@buttons'
6
import { ButtonPrimary } from '@buttons'
6
import { Title } from 'components/micro-learning/Typography'
-
 
Línea 7... Línea 7...
7
 
7
 
8
class ErrorBoundary extends React.Component {
8
class ErrorBoundary extends React.Component {
9
  constructor(props) {
9
  constructor(props) {
10
    super(props)
10
    super(props)
Línea 22... Línea 22...
22
 
22
 
23
  render() {
23
  render() {
24
    if (this.state.hasError) {
24
    if (this.state.hasError) {
25
      return (
25
      return (
26
        <Container>
26
        <Container>
Línea 27... Línea 27...
27
          <Title>Something went wrong, please reload the page</Title>
27
          <h1>Something went wrong, please reload the page</h1>
28
 
28
 
29
          <ButtonPrimary
29
          <ButtonPrimary
30
            className='mt-3'
30
            className='mt-3'