Fix website reports error

This commit is contained in:
Francis Cao 2023-10-14 11:07:18 -07:00
parent 82e669193d
commit c4bbd09de4

View File

@ -45,7 +45,7 @@ export function WebsiteReports({ websiteId }) {
</Flexbox> </Flexbox>
{hasData && ( {hasData && (
<ReportsTable <ReportsTable
data={reports} data={reports.data}
onDelete={handleDelete} onDelete={handleDelete}
onFilterChange={handleFilterChange} onFilterChange={handleFilterChange}
onPageChange={handlePageChange} onPageChange={handlePageChange}