diff --git a/examples/demo/src/dashboard/Dashboard.tsx b/examples/demo/src/dashboard/Dashboard.tsx index 0352c4cb5ee..1559ab9076a 100644 --- a/examples/demo/src/dashboard/Dashboard.tsx +++ b/examples/demo/src/dashboard/Dashboard.tsx @@ -28,13 +28,13 @@ interface CustomerData { } interface State { - nbNewOrders: number; - nbPendingReviews: number; - pendingOrders: Order[]; - pendingOrdersCustomers: CustomerData; - pendingReviews: Review[]; - pendingReviewsCustomers: CustomerData; - revenue: number; + nbNewOrders?: number; + nbPendingReviews?: number; + pendingOrders?: Order[]; + pendingOrdersCustomers?: CustomerData; + pendingReviews?: Review[]; + pendingReviewsCustomers?: CustomerData; + revenue?: number; } const styles = {