Skip to content

Missing Early Return in Dashboard.jsx hangs redirection to /Login on Logout #13

@AlexDarigan

Description

@AlexDarigan

In Dashboard.jsx at line 24 where the user is being navigated to the login page on null user ( likely due to logout being pressed ), there is an early return that is missing. Without that return, a user would have to click logout and also refresh the page to reach login.

( I'm a newbie to react so maybe there is a more conventional react way of doing this ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions