Skip to content

Commit 0091c2f

Browse files
thrid review
1 parent d23c82a commit 0091c2f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.size-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = [
2222
name: 'The size of all the modules of material-ui.',
2323
webpack: true,
2424
path: 'packages/material-ui/build/index.js',
25-
limit: '93.5 KB',
25+
limit: '93.6 KB',
2626
},
2727
{
2828
name: 'The main bundle of the docs',

packages/material-ui/src/ListItemText/ListItemText.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function ListItemText(props, context) {
7474
if (secondary != null && secondary.type !== Typography && !disableTypography) {
7575
secondary = (
7676
<Typography
77-
variant="body2"
77+
variant="body1"
7878
className={classNames(classes.secondary, {
7979
[classes.textDense]: dense,
8080
})}

packages/material-ui/src/ListItemText/ListItemText.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe('<ListItemText />', () => {
7575
const wrapper = shallow(<ListItemText secondary="This is the secondary text" />);
7676
assert.strictEqual(wrapper.children().length, 1, 'should have 1 child');
7777
assert.strictEqual(wrapper.childAt(0).type(), Typography);
78-
assert.strictEqual(wrapper.childAt(0).props().variant, 'body2');
78+
assert.strictEqual(wrapper.childAt(0).props().variant, 'body1');
7979
assert.strictEqual(
8080
wrapper.childAt(0).props().color,
8181
'textSecondary',
@@ -122,7 +122,7 @@ describe('<ListItemText />', () => {
122122
);
123123

124124
assert.strictEqual(wrapper.childAt(1).type(), Typography);
125-
assert.strictEqual(wrapper.childAt(1).props().variant, 'body2');
125+
assert.strictEqual(wrapper.childAt(1).props().variant, 'body1');
126126
assert.strictEqual(wrapper.childAt(1).props().color, 'textSecondary');
127127
assert.strictEqual(
128128
wrapper
@@ -163,7 +163,7 @@ describe('<ListItemText />', () => {
163163
);
164164

165165
assert.strictEqual(wrapper.childAt(1).type(), Typography);
166-
assert.strictEqual(wrapper.childAt(1).props().variant, 'body2');
166+
assert.strictEqual(wrapper.childAt(1).props().variant, 'body1');
167167
assert.strictEqual(wrapper.childAt(1).props().color, 'textSecondary');
168168
assert.strictEqual(
169169
wrapper

0 commit comments

Comments
 (0)