mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 20:42:02 +00:00
fix: prevent crash when there is no connection with the API
This commit is contained in:
@@ -59,8 +59,8 @@ const SSRDataTable = async ({
|
||||
return (
|
||||
<DataTableProvider
|
||||
columns={ColumnsProvider}
|
||||
data={providersData.data}
|
||||
metadata={providersData.meta}
|
||||
data={providersData?.data || []}
|
||||
metadata={providersData?.meta}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user