Skip to content

Commit

Permalink
Merge pull request gladly-team#173 from gladly-team/kevin/upgrade-exa…
Browse files Browse the repository at this point in the history
…mple

Upgrade NFA in example
  • Loading branch information
kmjennison committed May 8, 2021
2 parents 890705d + c7d469b commit 333d538
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"firebase": "^8.5.0",
"firebase-admin": "^9.7.0",
"next": "10.2.0",
"next-firebase-auth": "0.13.0-alpha.4",
"next-firebase-auth": "0.13.1-alpha.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-firebaseui": "^5.0.2"
Expand Down
9 changes: 7 additions & 2 deletions example/pages/ssr-no-token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ export const getServerSideProps = withAuthUserSSR({

export default withAuthUser({
whenUnauthedAfterInit: AuthAction.REDIRECT_TO_LOGIN,
// FIXME: TypeScript warning when using a functional component
// rather than React.FC or React.ComponentType
// FIXME: Fix this TypeScript warning when using a functional component
// rather than using React.FC or React.ComponentType, which are
// discouraged:
// https://github.com/typescript-cheatsheets/react#function-components
// This may require changing the type definition for `withAuthUser`.
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
})(Demo)
8 changes: 4 additions & 4 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2064,10 +2064,10 @@ [email protected]:
dependencies:
querystring "^0.2.0"

[email protected].0-alpha.4:
version "0.13.0-alpha.4"
resolved "https://registry.yarnpkg.com/next-firebase-auth/-/next-firebase-auth-0.13.0-alpha.4.tgz#bf014230212abe51a5b14b3e52c262225d827a9e"
integrity sha512-LkwBkTUJTxpWKxE34j4Ln7mOx/ihZJvrj2I0uIe36bA/Tvz/jeQHYRzFtUpn/rv2PpyxD3U8V3QNPIhu8fgsFw==
[email protected].1-alpha.2:
version "0.13.1-alpha.2"
resolved "https://registry.yarnpkg.com/next-firebase-auth/-/next-firebase-auth-0.13.1-alpha.2.tgz#24299ad32261761cc1b45e7dd014da2123a290e5"
integrity sha512-thvgD3wtIbHTcojMoj6cEX7nychiqwazGlOsRJlz1KbJfMFsQf2be57M55XxDftHdhwXR3rCNJJxfCitDKg1HA==
dependencies:
cookies "^0.8.0"

Expand Down

0 comments on commit 333d538

Please sign in to comment.