Skip to content

no request when no token #26

Open
Open
@moparlakci

Description

@moparlakci

Hi is there a way, to not to do a request when there is no jwt token in localStorage?
It should just render the login page

Now it is doing an unneccessary empty request, and the response is also empty. so the userInfo is null.
We should be able to skip that.., do you know how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions