diff --git a/src/client/components/Library/Library.tsx b/src/client/components/Library/Library.tsx index 227e75d..42f40f7 100644 --- a/src/client/components/Library/Library.tsx +++ b/src/client/components/Library/Library.tsx @@ -194,7 +194,7 @@ export const Library = (): ReactElement => {

Library

- {!isUndefined(searchResults) ? ( + {!isUndefined(searchResults?.hits) ? (
{ back.
- {/*
-                {!isUndefined(searchResults?.code === 404 && !isLoading) &&
-                  JSON.stringify(
-                    searchResults.meta.body.error.root_cause,
+              {!isUndefined(searchResults?.data?.meta?.body) ? (
+                
+                  {JSON.stringify(
+                    searchResults.data.meta.body.error.root_cause,
                     null,
                     4,
                   )}
-              
*/} +
+ ) : null}
)}