mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2026-01-15 12:15:02 +00:00
Allow prop spreading
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
],
|
||||
"max-lines": ["error", 80],
|
||||
"react/jsx-filename-extension": [1, { "extensions": [".tsx"] }],
|
||||
"react/jsx-props-no-spreading": "off",
|
||||
"react/prop-types": "off",
|
||||
"simple-import-sort/exports": "error",
|
||||
"simple-import-sort/imports": "error"
|
||||
|
||||
@@ -9,7 +9,6 @@ const App = ({ Component, pageProps }: AppProps): React.ReactElement => (
|
||||
<SessionProvider>
|
||||
<StyledApp>
|
||||
<Metadata />
|
||||
{/* eslint-disable-next-line react/jsx-props-no-spreading */}
|
||||
<Component {...pageProps} />
|
||||
</StyledApp>
|
||||
</SessionProvider>
|
||||
|
||||
@@ -11,7 +11,6 @@ const withStyledComponents = async (
|
||||
try {
|
||||
ctx.renderPage = () =>
|
||||
originalRenderPage({
|
||||
/* eslint-disable-next-line react/jsx-props-no-spreading */
|
||||
enhanceApp: (App) => (props) => sheet.collectStyles(<App {...props} />)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user