Skip to content

Commit 6b66c52

Browse files
authored
Add deprecation warning for ChipsInput (#1722)
1 parent 75af81c commit 6b66c52

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/chipsInput/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ class ChipsInput extends Component<OwnProps, State> {
145145
isFocused: this.input.current?.isFocused() || false
146146
};
147147

148-
if (props.tags) {
149-
LogService.deprecationWarn({component: 'ChipsInput', oldProp: 'tags', newProp: 'chips'});
150-
}
148+
LogService.componentDeprecationWarn({oldComponent: 'ChipsInput', newComponent: 'Incubator.ChipsInput'});
151149
}
152150

153151
componentDidMount() {

0 commit comments

Comments
 (0)