Skip to content

Commit

Permalink
Add empty array as fallback for top cities.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitrox committed Jan 23, 2025
1 parent 339831d commit 013a67b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ export default function AudienceTiles( { Widget, widgetLoading } ) {
// Filter (not set) value from the top countries report if present.
const filteredTopCitiesRows = topCities?.rows
? reportRowsWithSetValues( topCities.rows )
: {};
: [];

// Return loading tile if data is not yet loaded.
if (
Expand Down

0 comments on commit 013a67b

Please sign in to comment.