Skip to content

Commit

Permalink
fix(next): INFRA-455 fixed AuthProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
Alllex202 committed Nov 20, 2024
1 parent df302c6 commit 0e729cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ const AuthProvider: React.FC = ({ children }) => {

const { data, loading: userLoading, refetch } = useQuery(USER_QUERY)

const user = useMemo(() => get(data, 'authenticatedUser' || null), [data])
const user = useMemo(() => get(data, 'authenticatedUser') || null, [data])

const refetchAuth = useCallback(async () => {
await refetch()
Expand Down

0 comments on commit 0e729cc

Please sign in to comment.