mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
rename prop if a component requires authentication
This commit is contained in:
@@ -28,7 +28,7 @@ export default function MyApp({
|
||||
return (
|
||||
<div className="flex flex-col min-h-screen">
|
||||
<SessionProvider session={session}>
|
||||
{Component.auth ? (
|
||||
{Component.authenticationRequired ? (
|
||||
<Auth>
|
||||
<Component {...pageProps} />
|
||||
</Auth>
|
||||
|
||||
Reference in New Issue
Block a user