From bb1222f953b7ee8a4be41b646f8a893c5a9dcfef Mon Sep 17 00:00:00 2001 From: Milindu Sanoj Kumarage Date: Sun, 29 Jul 2018 01:24:48 +0530 Subject: [PATCH] Fix #12318 (#12319) Overriding `LinearProgress`'s `bar2Determinate` styles not applied --- packages/material-ui/src/LinearProgress/LinearProgress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/LinearProgress/LinearProgress.js b/packages/material-ui/src/LinearProgress/LinearProgress.js index 36fd02d1594603..3d7b451784dcd6 100644 --- a/packages/material-ui/src/LinearProgress/LinearProgress.js +++ b/packages/material-ui/src/LinearProgress/LinearProgress.js @@ -192,7 +192,7 @@ function LinearProgress(props) { [classes.barColorSecondary]: color === 'secondary' && variant !== 'buffer', [classes.colorSecondary]: color === 'secondary' && variant === 'buffer', [classes.bar2Indeterminate]: variant === 'indeterminate' || variant === 'query', - [classes.bar1Determinate]: variant === 'determinate', + [classes.bar2Determinate]: variant === 'determinate', [classes.bar2Buffer]: variant === 'buffer', }); const rootProps = {};