Tarekun / optimus-bo-ui

React UI library developed and used at Optimus, Bologna, Italy
0 stars 0 forks source link

Support null user record in fetchCurrentUser #38

Closed Tarekun closed 2 months ago

Tarekun commented 2 months ago

The function fetchCurrentUser is expected to only return the user schema at the time being, but it shouldn't. It should also support return null to comunicate that there is no user logged in currently. null user is already supported internally by the context provider so there is no reason not to support this.

AC