Skip to content

Commit

Permalink
chore: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
aiji42 committed Nov 5, 2021
1 parent 39fb932 commit 9712cdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion example/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import AuthContext from '../lib/AuthContext'
import authReducer from '../lib/authReducer'
import { listenAuthState } from '../lib/firebase'
import { useEffect, useReducer } from 'react'
import 'prismjs/themes/prism-tomorrow.css'
import '../styles/globals.css'
import Amplify from 'aws-amplify'
import { UserProvider } from '@auth0/nextjs-auth0'
Expand Down
7 changes: 2 additions & 5 deletions example/src/pages/auth0/authed.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import styles from '../../styles/Home.module.css'
import Head from 'next/head'
import { useEffect, VFC } from 'react'
import Prism from 'prismjs'
import { VFC } from 'react'

import { useUser } from '@auth0/nextjs-auth0'
import { Text } from '@geist-ui/react'

const Authed: VFC = () => {
useEffect(() => {
Prism.highlightAll()
}, [])
const { user } = useUser()
return (
<>
Expand Down

0 comments on commit 9712cdf

Please sign in to comment.