Skip to content

Commit

Permalink
Add spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee authored Aug 18, 2022
1 parent ac21600 commit d6637b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/react-browser/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Chart.register(DoughnutController, ArcElement);
function App() {
useEffect(() => {
const c = Chart.getChart('myChart');
if(c) {
if (c) {
c.destroy();
}

Expand Down
2 changes: 1 addition & 1 deletion test/integration/react-browser/src/AppAuto.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {merge} from 'chart.js/helpers';
function AppAuto() {
useEffect(() => {
const c = Chart.getChart('myChart');
if(c) {
if (c) {
c.destroy();
}

Expand Down

0 comments on commit d6637b7

Please sign in to comment.