From d6637b7c52a82ab809676fc6b7b94398910c2f7a Mon Sep 17 00:00:00 2001 From: Jacco van den Berg Date: Thu, 18 Aug 2022 13:37:42 +0200 Subject: [PATCH] Add spaces --- test/integration/react-browser/src/App.tsx | 2 +- test/integration/react-browser/src/AppAuto.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }