diff --git a/test/integration/react-browser/src/App.tsx b/test/integration/react-browser/src/App.tsx index c97d396d558..a1ac021d83f 100644 --- a/test/integration/react-browser/src/App.tsx +++ b/test/integration/react-browser/src/App.tsx @@ -7,7 +7,7 @@ Chart.register(DoughnutController, ArcElement); function App() { useEffect(() => { const c = Chart.getChart('myChart'); - if(c) { + if (c) { c.destroy(); } diff --git a/test/integration/react-browser/src/AppAuto.tsx b/test/integration/react-browser/src/AppAuto.tsx index 8454cecaca6..404550dfe39 100644 --- a/test/integration/react-browser/src/AppAuto.tsx +++ b/test/integration/react-browser/src/AppAuto.tsx @@ -5,7 +5,7 @@ import {merge} from 'chart.js/helpers'; function AppAuto() { useEffect(() => { const c = Chart.getChart('myChart'); - if(c) { + if (c) { c.destroy(); }