import React from "react"; import classnames from "classnames"; import CustomLink from "components/CustomLink"; import Icon from "components/Icon"; const baseClass = "data-error"; interface IDataErrorProps { children?: React.ReactNode; card?: boolean; className?: string; } const DataError = ({ children, card, className, }: IDataErrorProps): JSX.Element => { const classes = classnames(baseClass, className); return (
Something's gone wrong. <> {children || ( <> Refresh the page or log in again. If this keeps happening, please  )}
); }; export default DataError;