fix: prevent crash when there is no connection with the API

This commit is contained in:
Pablo Lara
2024-09-06 16:45:01 +02:00
parent 3d120b3505
commit 3cc9910f61
+2 -2
View File
@@ -59,8 +59,8 @@ const SSRDataTable = async ({
return (
<DataTableProvider
columns={ColumnsProvider}
data={providersData.data}
metadata={providersData.meta}
data={providersData?.data || []}
metadata={providersData?.meta}
/>
);
};