refactor: remove true from boolean attribute (#66)

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.

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
deepsource-autofix[bot]
2024-02-07 21:02:22 +01:00
committed by GitHub
parent 6797cca259
commit 91812531b4

View File

@@ -101,7 +101,7 @@ export default async function ManageLayout({ children }: PropsWithChildren) {
];
return (
<ClientShell hasNavigation={true}>
<ClientShell hasNavigation>
<MainHeader></MainHeader>
<MainNavigation links={navigationLinks}></MainNavigation>
<AppShellMain>{children}</AppShellMain>