add llama suggestions
This commit is contained in:
1 parent
85f00eb7e8
commit
80d121e87a
3 files changed
+9
-8
No files matched your search
@@ -17,9 +17,9 @@ const PageStateWrapper = ({
|
||||
const theme = useTheme();
|
||||
const { t } = useTranslation();
|
||||
const isAdmin = useIsAdmin();
|
||||
const hasInitialized = !isLoading && items !== undefined;
|
||||
const showEmpty = items == undefined || items.length === 0;
|
||||
|
||||
const isEmpty = items === null || (Array.isArray(items) && items.length === 0);
|
||||
const hasInitialized = items !== undefined && !(isLoading && isEmpty);
|
||||
const showEmpty = !isLoading && isEmpty;
|
||||
if (networkError) {
|
||||
return (
|
||||
<GenericFallback>
|
||||
|
||||
Reference in new issue
Block a user