Fixed session properties.
This commit is contained in:
@@ -2,4 +2,5 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ export function LoadingPanel({
|
||||
className?: string;
|
||||
children: ReactNode;
|
||||
}) {
|
||||
const isEmpty = !data?.length && !isLoading && isFetched;
|
||||
const isEmpty = !isLoading && isFetched && data && Array.isArray(data) && data.length > 0;
|
||||
|
||||
return (
|
||||
<div className={classNames(styles.panel, className)}>
|
||||
|
||||
Reference in New Issue
Block a user