Skip to content

Commit

Permalink
fix: Remove redundant return statement after try-catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
bgmello committed Nov 9, 2023
1 parent e3db4b4 commit d9586a1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions documentation/docs/advanced-tutorials/auth/auth0.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,6 @@ const App = () => {
redirectTo: "/login",
logout: true,
};
}

return {
authenticated: false,
error: {
message: "Check failed",
name: "Token not found",
},
redirectTo: "/login",
logout: true,
};
},
getPermissions: async () => null,
Expand Down

0 comments on commit d9586a1

Please sign in to comment.