From a0864161fc43686c67c6396ca6623a52d069837b Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 5 May 2023 20:12:04 +0000 Subject: [PATCH 1/2] refactor: removes the duplicate property. Creating JSX elements with duplicate props can cause unexpected behavior in your application. From the duplicates properties, the last value will be honored by React framework. This may cause your application to have undesired behavior. --- javascript/packages/demo-react/src/App.js | 2 +- javascript/packages/demo-react/src/components/hero.js | 2 +- javascript/packages/demo-react/src/components/home.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/javascript/packages/demo-react/src/App.js b/javascript/packages/demo-react/src/App.js index bcf9f1b0..873adf1f 100644 --- a/javascript/packages/demo-react/src/App.js +++ b/javascript/packages/demo-react/src/App.js @@ -6,7 +6,7 @@ function App() { return (
- logo + logo