From 1ce21b5d2bb4bfb6f74a08b4f9647ed7a8c7a5db Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 16:02:33 +0000 Subject: [PATCH] refactor: remove `true` from boolean attribute When using a boolean attribute in JSX, you can set the attribute value to true or omit the value. This helps to keep consistency in code. --- src/components/Header/index.tsx | 2 +- src/components/Navbar/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 97f94dda..41804fe5 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -19,7 +19,7 @@ const Header: FC = (props) => { const { container, actionsContainer } = classes; return ( - + Parseable Logo diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index d3cb0c06..b62093f7 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -75,7 +75,7 @@ const Navbar: FC = (props) => { return ( - + } component="a" sx={{ paddingLeft: 0 }} />