Skip to content

Commit 9186e6b

Browse files
committed
chore: clean-up
1 parent aeda058 commit 9186e6b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/components/card/CCardBody.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,4 @@ CCardBody.propTypes = {
2626
className: PropTypes.string,
2727
}
2828

29-
CCardBody.displayName = 'CCardBody'
30-
31-
// npx babel script.js --out-file script-compiled.js --plugins=@babel/proposal-class-properties,@babel/transform-modules-amd
29+
CCardBody.displayName = 'CCardBody'

src/components/collapse/CCollapse.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { CSSProperties, forwardRef, HTMLAttributes, useRef, useState } from 'react'
1+
import React, { forwardRef, HTMLAttributes, useRef, useState } from 'react'
22
import PropTypes from 'prop-types'
33
import classNames from 'classnames'
44
import { CSSTransition } from 'react-transition-group'
@@ -45,7 +45,6 @@ export const CCollapse = forwardRef<HTMLDivElement, CCollapseProps>(
4545
}
4646

4747
const onExiting = () => {
48-
// const reflow = collapseRef && collapseRef.current && collapseRef.current.offsetHeight
4948
setHeight(0)
5049
}
5150

0 commit comments

Comments
 (0)