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`
20
20
21
21
export const AddTeamMember : React . FC < IAddTeamMemberProps > = ( { teamId } ) => {
22
22
const { actions } = useOvermind ( ) ;
23
- const [ mutate , { loading, error } ] = useMutation ( INVITE_TO_TEAM ) ;
23
+ const [ inviteToTeam , { loading, error } ] = useMutation ( INVITE_TO_TEAM ) ;
24
24
let input : HTMLInputElement = null ;
25
25
26
26
const submit : React . FormEventHandler = e => {
@@ -44,7 +44,7 @@ export const AddTeamMember: React.FC<IAddTeamMemberProps> = ({ teamId }) => {
44
44
variables . username = value ;
45
45
}
46
46
47
- mutate ( {
47
+ inviteToTeam ( {
48
48
variables,
49
49
} ) . then ( ( ) => {
50
50
actions . notificationAdded ( {
You can’t perform that action at this time.
0 commit comments