Skip to content

Commit

Permalink
fix: restore the redicrectToSignIn function
Browse files Browse the repository at this point in the history
  • Loading branch information
HadiKhai committed Jun 3, 2021
1 parent 8521a9c commit 7d88433
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/common/Authorization.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ const Authorization = () => (ChildComponent) => {

// check authorization
if (isError || !currentMember) {
// eslint-disable-next-line no-console
console.log(redirectToSignIn);
redirectToSignIn();
}

// eslint-disable-next-line react/jsx-props-no-spreading
Expand Down

0 comments on commit 7d88433

Please sign in to comment.