Skip to content

Commit

Permalink
fix: reject request error in authorized.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Oct 11, 2024
1 parent 23dc9df commit daeac9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/authorized.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Authorized = ({children}) => {
logout();
return Promise.resolve(xhr);
}
return Promise.reject(new Error(xhr));
return Promise.reject(xhr);
},
[logout],
);
Expand Down

0 comments on commit daeac9a

Please sign in to comment.