File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/app/src/app/pages/Dashboard/Content/routes/TeamView/AddTeamMember Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const ErrorMessage = styled.div`
2020
2121export const AddTeamMember : React . FC < IAddTeamMemberProps > = ( { teamId } ) => {
2222 const { actions } = useOvermind ( ) ;
23- const [ mutate , { loading, error } ] = useMutation ( INVITE_TO_TEAM ) ;
23+ const [ inviteToTeam , { loading, error } ] = useMutation ( INVITE_TO_TEAM ) ;
2424 let input : HTMLInputElement = null ;
2525
2626 const submit : React . FormEventHandler = e => {
@@ -44,7 +44,7 @@ export const AddTeamMember: React.FC<IAddTeamMemberProps> = ({ teamId }) => {
4444 variables . username = value ;
4545 }
4646
47- mutate ( {
47+ inviteToTeam ( {
4848 variables,
4949 } ) . then ( ( ) => {
5050 actions . notificationAdded ( {
You can’t perform that action at this time.
0 commit comments