Skip to content

Commit 0c88adc

Browse files
committed
refactor(widgets): add missing line charts to Widget03
1 parent 59d43f7 commit 0c88adc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/views/Widgets/Widgets.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,11 @@ class Widgets extends Component {
156156
</Widget03>
157157
</Col>
158158
<Col xs={12} sm={6} md={3}>
159-
<Widget03 dataBox={() => ({ variant: 'twitter', followers: '973k', tweets: '1.792' })} />
159+
<Widget03 dataBox={() => ({ variant: 'twitter', followers: '973k', tweets: '1.792' })} >
160+
<div className="chart-wrapper">
161+
<Line data={makeSocialBoxData(1)} options={socialChartOpts} height={90} />
162+
</div>
163+
</Widget03>
160164
</Col>
161165
<Col xs={12} sm={6} md={3}>
162166
<Widget03 dataBox={() => ({ variant: 'linkedin', contacts: '500+', feeds: '292' })} >
@@ -166,7 +170,11 @@ class Widgets extends Component {
166170
</Widget03>
167171
</Col>
168172
<Col xs={12} sm={6} md={3}>
169-
<Widget03 dataBox={() => ({ variant: 'google-plus', followers: '894', circles: '92' })} />
173+
<Widget03 dataBox={() => ({ variant: 'google-plus', followers: '894', circles: '92' })} >
174+
<div className="chart-wrapper">
175+
<Line data={makeSocialBoxData(3)} options={socialChartOpts} height={90} />
176+
</div>
177+
</Widget03>
170178
</Col>
171179
</Row>
172180
<CardGroup className="mb-4">

0 commit comments

Comments
 (0)