From 96dca5b1da1c070ab07c029b590e7b2ee5b042f1 Mon Sep 17 00:00:00 2001 From: Taylor Jones Date: Fri, 24 Sep 2021 11:02:50 -0500 Subject: [PATCH] fix(progress-indicator): correct prefix value from context (#9736) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .../react/src/components/ProgressIndicator/ProgressIndicator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/components/ProgressIndicator/ProgressIndicator.js b/packages/react/src/components/ProgressIndicator/ProgressIndicator.js index 4d5ac569a02c..740d8a22c37d 100644 --- a/packages/react/src/components/ProgressIndicator/ProgressIndicator.js +++ b/packages/react/src/components/ProgressIndicator/ProgressIndicator.js @@ -309,7 +309,7 @@ export class ProgressIndicator extends Component { spaceEqually, ...other } = this.props; - const prefix = this.prefix; + const prefix = this.context; const classes = classnames({ [`${prefix}--progress`]: true, [`${prefix}--progress--vertical`]: vertical,