Rename "EmptyView"

This commit is contained in:
schroda
2024-04-29 15:29:33 +02:00
parent 7866fdb9f1
commit 054585f488
26 changed files with 65 additions and 59 deletions

View File

@@ -30,7 +30,7 @@ interface IProps {
noFaces?: boolean;
}
export function EmptyView({ message, messageExtra, retry, noFaces }: IProps) {
export function EmptyViewAbsoluteCentered({ message, messageExtra, retry, noFaces }: IProps) {
const { t } = useTranslation();
const theme = useTheme();
const isMobileWidth = useMediaQuery(theme.breakpoints.down('sm'));
@@ -60,6 +60,6 @@ export function EmptyView({ message, messageExtra, retry, noFaces }: IProps) {
);
}
EmptyView.defaultProps = {
EmptyViewAbsoluteCentered.defaultProps = {
messageExtra: undefined,
};