mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
feat(pass pageprops to loginpage): pass page props to loginPage
This commit is contained in:
@@ -8,7 +8,7 @@ class CoreApp extends App {
|
|||||||
public render(): JSX.Element {
|
public render(): JSX.Element {
|
||||||
const { Component, pageProps, router } = this.props;
|
const { Component, pageProps, router } = this.props;
|
||||||
if (router.asPath == '/login') {
|
if (router.asPath == '/login') {
|
||||||
return <LoginPage />;
|
return <LoginPage {...pageProps} />;
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
|
|||||||
Reference in New Issue
Block a user