Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaevn committed Nov 30, 2023
1 parent 886d285 commit 69d3490
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ import {
import '../utils/theme/globals.scss'

const WebStore = ({ Component }) => {
/**
* the session will return undefined if it's still loading, null if the user is not logged in, or an object if the user is logged in.
*/
const { data: session } = useSession()
const router = useRouter()

Expand Down

0 comments on commit 69d3490

Please sign in to comment.