Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2780 Rev 2805
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { Container, Typography } from '@mui/material'
2
import { Typography } from '@mui/material'
Línea 3... Línea 3...
3
 
3
 
Línea 4... Línea 4...
4
import { useFetch } from '@hooks'
4
import { useFetch } from '@hooks'
5
 
5
 
Línea 12... Línea 12...
12
    data: { items },
12
    data: { items },
13
    isLoading
13
    isLoading
14
  } = useFetch('/abuse-report')
14
  } = useFetch('/abuse-report')
Línea 15... Línea 15...
15
 
15
 
16
  return (
16
  return (
17
    <Container>
17
    <>
18
      <Typography variant='h1' mb={2}>
18
      <Typography variant='h1' mb={2}>
19
        Reportes de abuso
19
        Reportes de abuso
Línea 20... Línea 20...
20
      </Typography>
20
      </Typography>
Línea 24... Línea 24...
24
          <Spinner />
24
          <Spinner />
25
        </LoaderContainer>
25
        </LoaderContainer>
26
      ) : (
26
      ) : (
27
        <ReportTable reports={items} />
27
        <ReportTable reports={items} />
28
      )}
28
      )}
29
    </Container>
29
    </>
30
  )
30
  )
31
}
31
}