Skip to content

Commit e03c644

Browse files
nullptr-zxingyuefeng
authored andcommitted
fix: no-useless-constructor
1 parent 49999c9 commit e03c644

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/core/src/Tooltip/Cloud.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ interface CloudProps extends ViewProps {
1818
}
1919

2020
export default class Cloud extends React.Component<CloudProps> {
21-
constructor(props: CloudProps) {
22-
super(props);
23-
}
2421
render() {
2522
const { title, isDown, isStart, triangle, backgroundColor, borderRadius } = this.props;
2623
const style: ViewStyle = {

0 commit comments

Comments
 (0)