Skip to content

Commit 0e81b90

Browse files
committed
chore(CChart): clean-up
1 parent f981e67 commit 0e81b90

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/coreui-react-chartjs/src/CChart.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,6 @@ export const CChart = forwardRef<Chart | undefined, CChartProps>((props, ref) =>
152152

153153
const [chart, setChart] = useState<Chart>()
154154

155-
useEffect(() => {
156-
console.log(chart)
157-
}, [chart])
158-
159155
useImperativeHandle<Chart | undefined, Chart | undefined>(ref, () => chart, [chart])
160156

161157
const renderChart = () => {

0 commit comments

Comments
 (0)