Skip to content

When I want to redirect to a new page after login,have "TypeError: Cannot read property 'success' of undefined" #5

@Flyooofly

Description

@Flyooofly

Hello,I'm a freshman to learn react.
And I complete a component and I want to let it works after the login.
I have change the router ,but I don't konw why have above problem.Thank you.
image
image
image

Of course,hope you can tell me if I should chage other files? Thank you,beacuse I can't fully understand your code .

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