Skip to content

Commit

Permalink
Fixed login screen reappearing after successful login (#1415)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarishshahmohsin authored Jan 10, 2024
1 parent 58389f6 commit da239fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/screens/OrgList/OrgList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ function orgList(): JSX.Element {
error?: Error | undefined;
} = useQuery(USER_ORGANIZATION_LIST, {
variables: { id: localStorage.getItem('id') },
context: {
headers: { authorization: `Bearer ${localStorage.getItem('token')}` },
},
});

const {
Expand Down

0 comments on commit da239fe

Please sign in to comment.