Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vdavid committed Jun 19, 2024
1 parent 595b144 commit 3289c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/web/src/cody/team/CodyManageTeamPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const AuthenticatedCodyManageTeamPage: React.FunctionComponent<CodyManageTeamPag
teamInvitesQueryResult.error?.message

useEffect(() => {
if (subscriptionQueryResult.data && subscriptionQueryResult.data.subscriptionStatus !== 'canceled') {
if (subscriptionQueryResult.data?.subscriptionStatus === 'canceled') {
navigate('/cody/subscription')
}
}, [navigate, subscriptionQueryResult.data])
Expand Down

0 comments on commit 3289c87

Please sign in to comment.