import React from 'react'
import getServerLimits from '../../api/getServerLimits'
import LoadingAnimation from '../Loading/LoadingAnimation'
import styles from './DisplayServerLimits.module.scss'
const DisplayServerLimits = () => {
const { loading, data, error } = getServerLimits()
if (loading) {
return (
Error: Failed to check server limits. Please contact hosting provider and ask them to investigate any errors in the logs and to raise the PHP memory limits for you.
) } if (data) { return (