You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -73,7 +63,7 @@ class Orders extends Component {
73
63
labels: [moment(moment().subtract(6,'days')).format("MMM Do YYYY"),moment(moment().subtract(5,'days')).format("MMM Do YYYY"),moment(moment().subtract(4,'days')).format("MMM Do YYYY"),moment(moment().subtract(3,'days')).format("MMM Do YYYY"),moment(moment().subtract(2,'days')).format("MMM Do YYYY"),moment(moment().subtract(1,'days')).format("MMM Do YYYY"),moment().calendar()],
74
64
datasets: [{
75
65
label: '# of Orders',
76
-
data: Data,
66
+
data: Data7d,
77
67
backgroundColor: [
78
68
'rgba(255, 99, 132, 0.2)',
79
69
'rgba(54, 162, 235, 0.2)',
@@ -120,11 +110,11 @@ class Orders extends Component {
120
110
</Tabs>
121
111
</MuiThemeProvider>
122
112
)
123
-
124
-
};
113
+
114
+
}
125
115
126
116
else{
127
-
console.log('no data')
117
+
128
118
return(
129
119
<divstyle={{height: 100+'%',width: 100+'%'}}>
130
120
<Centerstyle={{paddingTop: 250}}>
@@ -136,4 +126,4 @@ class Orders extends Component {
0 commit comments