diff --git a/next.config.js b/next.config.js index 5c489d26..50fd5b38 100644 --- a/next.config.js +++ b/next.config.js @@ -2,9 +2,6 @@ const nextConfig = { reactStrictMode: true, transpilePackages: ['@patternfly/react-core', '@patternfly/react-styles', '@patternfly/react-table', '@patternfly/react-component-groups'], - experimental: { - missingSuspenseWithCSRBailout: false, - }, }; module.exports = nextConfig; diff --git a/src/app/login/githublogin.tsx b/src/app/login/githublogin.tsx index ed75f3f2..4b20c9b8 100644 --- a/src/app/login/githublogin.tsx +++ b/src/app/login/githublogin.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from 'react'; +import React, { useEffect, useState, Suspense } from 'react'; import { Button } from '@patternfly/react-core/dist/dynamic/components/Button'; import { Content } from '@patternfly/react-core/dist/dynamic/components/Content'; @@ -71,89 +71,91 @@ const GithubLogin: React.FC = () => { }; return ( -
- - -
- - - Sign in to your account + +
+ + +
+ + + Sign in to your account + - - - - Join the novel, community based movement to

create truly open source LLMs + + + Join the novel, community based movement to

create truly open source LLMs +
-
-
- -
- - - - GitHub - {' '} - |{' '} - - Collaborate - {' '} - |{' '} - + +
+ + + + GitHub + {' '} + |{' '} + + Collaborate + {' '} + |{' '} + + Code Of Conduct + + + + + Terms of use + {' '} + |{' '} + + Privacy Policy + + - - - Terms of use - {' '} - |{' '} - - Privacy Policy - - - +
+ + + {showError && ( +
+ handleOnClose()} + actions={[ + , + + ]} + > +

{errorMsg}

+
- - - {showError && ( -
- handleOnClose()} - actions={[ - , - - ]} - > -

{errorMsg}

-
-
- )} -
+ )} +
+ ); };