Skip to content

Commit

Permalink
Revert "Apply suggestions from code review" (#23)
Browse files Browse the repository at this point in the history
This reverts commit 440caec.
  • Loading branch information
dkhalife authored Jan 16, 2025
1 parent 89d378c commit cc45ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contexts/AuthenticationProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export class AuthenticationProvider extends React.Component {
})

render() {
this.state = { isLoggedIn: false, userProfile: null };
this.state = { isLoggedIn: false, userProfile: null };
const [isLoggedIn, setIsLoggedIn] = React.useState<boolean>(false)
const [userProfile, setUserProfile] = React.useState<any>(null)

return (
<this.authContext.Provider
Expand Down

0 comments on commit cc45ad9

Please sign in to comment.