From 77fec26532dfc58d2558ca1223596370a3c0dfb5 Mon Sep 17 00:00:00 2001 From: Arkadiusz Bachorski <60391032+arkadiuszbachorski@users.noreply.github.com> Date: Wed, 29 May 2024 22:56:33 +0200 Subject: [PATCH] Remove global React usage (#19) # Remove global React usage ## :recycle: Current situation & Problem `React` shouldn't be used as global module ## :gear: Release Notes * Remove global React usage ### Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md). Co-authored-by: Paul Schmiedmayer --- app/layout.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 0498213..4045408 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -19,11 +19,7 @@ interface RootLayoutProps { children: ReactNode } -export default function RootLayout({ - children, -}: { - children: React.ReactNode -}) { +export default function RootLayout({ children }: RootLayoutProps) { return ( {children}