Commit cf9c8e9f by Finley Ge Committed by GitHub

fix: leave team and refresh memberlist (#3893)

parent 5d5bee9e
...@@ -101,6 +101,7 @@ function MemberTable({ Tabs }: { Tabs: React.ReactNode }) { ...@@ -101,6 +101,7 @@ function MemberTable({ Tabs }: { Tabs: React.ReactNode }) {
{ {
onSuccess() { onSuccess() {
refetchTeams(); refetchTeams();
refetchMembers();
}, },
errorToast: t('account_team:user_team_leave_team_failed') errorToast: t('account_team:user_team_leave_team_failed')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment