Skip to content

Commit

Permalink
Remove global React usage (#19)
Browse files Browse the repository at this point in the history
# Remove global React usage

## ♻️ Current situation & Problem
`React` shouldn't be used as global module


## ⚙️ 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 <[email protected]>
  • Loading branch information
arkadiuszbachorski and PSchmiedmayer authored May 29, 2024
1 parent f4f7ba5 commit 77fec26
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ interface RootLayoutProps {
children: ReactNode
}

export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
export default function RootLayout({ children }: RootLayoutProps) {
return (
<html lang="en">
<body>{children}</body>
Expand Down

0 comments on commit 77fec26

Please sign in to comment.