Skip to content

Commit 92ad26b

Browse files
committed
chore: dependencies update and cleanup
1 parent 9dbb639 commit 92ad26b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,13 @@
3939
"link": "npm link @coreui/react"
4040
},
4141
"dependencies": {
42-
"@coreui/coreui-chartjs": "^2.0.0-beta.0",
42+
"@coreui/chartjs": "^2.0.0",
4343
"chart.js": "^2.9.3",
4444
"classnames": "^2.2.6",
4545
"core-js": "^3.6.4",
4646
"prop-types": "^15.7.2"
4747
},
4848
"peerDependencies": {
49-
"@coreui/react": "^3.0.0-alpha.1",
5049
"react": "^16.12.0"
5150
},
5251
"devDependencies": {
@@ -56,7 +55,7 @@
5655
"eslint": "^6.8.0",
5756
"eslint-plugin-import": "^2.20.1",
5857
"eslint-plugin-react": "^7.18.3",
59-
"nwb": "^0.23.0",
58+
"nwb": "^0.24.2",
6059
"react-app-polyfill": "^1.0.6",
6160
"sinon": "^5.1.1"
6261
},

src/CCharts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import 'react-app-polyfill/stable';
33
import React, {useState, useEffect, useRef, useMemo} from 'react';
44
import PropTypes from 'prop-types';
55
import Chart from 'chart.js'
6-
import { customTooltips as cuiCustomTooltips } from '@coreui/coreui-chartjs/dist/js/coreui-chartjs.js'
7-
import "@coreui/coreui-chartjs/dist/css/coreui-chartjs.css";
6+
import { customTooltips as cuiCustomTooltips } from '@coreui/chartjs'
7+
import "@coreui/chartjs/dist/css/coreui-chartjs.css";
88

99
//component - CoreUI / CCharts
1010

0 commit comments

Comments
 (0)