Skip to content

Commit

Permalink
fix examples/demo/src/dashboard/Dashboard.tsx make state params optional
Browse files Browse the repository at this point in the history
  • Loading branch information
developerium committed Feb 14, 2020
1 parent b7f3ae4 commit a3dbeaf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions examples/demo/src/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit a3dbeaf

Please sign in to comment.