Skip to content

Commit

Permalink
null safe check
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Jan 6, 2025
1 parent 5b2e485 commit 5d8e059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CippTable/CippDataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const CippDataTable = (props) => {
showSkeletons: getRequestData.isFetching ? getRequestData.isFetching : isFetching,
},
renderEmptyRowsFallback: ({ table }) =>
getRequestData.data?.pages?.[0].Metadata?.QueueMessage ? (
getRequestData.data?.pages?.[0]?.Metadata?.QueueMessage ? (
<center>{getRequestData.data?.pages?.[0].Metadata?.QueueMessage}</center>
) : undefined,
onColumnVisibilityChange: setColumnVisibility,
Expand Down

0 comments on commit 5d8e059

Please sign in to comment.