Skip to content

Commit ee952af

Browse files
committed
fix: CTabPane: fix error occuring when context is not passed
1 parent df8c4c0 commit ee952af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CTabPane.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const CTabPane = props => {
4141
<CFade
4242
tag="div"
4343
in={isActive}
44-
baseClass={context.fade ? 'fade' : ''}
44+
baseClass={context && context.fade ? 'fade' : ''}
4545
className={classes}
4646
{...attributes}
4747
innerRef={ref}

0 commit comments

Comments
 (0)