Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1736 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

import React from 'react'
import { Container, Typography } from '@mui/material'
import useFetch from '@app/hooks/useFetch'
import LoaderContainer from '@app/components/UI/LoaderContainer'
import { Spinner } from 'react-bootstrap'

export default function AbuseReportPage() {
  const { data, isLoading } = useFetch('/abuse-report')

  if (isLoading) {
    return (
      <LoaderContainer>
        <Spinner />
      </LoaderContainer>
    )
  }

  return (
    <Container>
      <Typography variant='h1'>Reportes de abuso</Typography>
      {JSON.stringify(data, null, 4)}
    </Container>
  )
}