• useMoveItineraryLocationAfterMutation

    To run a mutation, you first call useMoveItineraryLocationAfterMutation within a React component and pass it any options that fit your needs. When your component renders, useMoveItineraryLocationAfterMutation returns a tuple that includes:

    • A mutate function that you can call at any time to execute the mutation
    • An object with fields that represent the current status of the mutation's execution

    Example

    const [moveItineraryLocationAfterMutation, { data, loading, error }] = useMoveItineraryLocationAfterMutation({
    variables: {
    id: // value for 'id'
    siblingId: // value for 'siblingId'
    },
    });

    Parameters

    Returns MutationTuple<MoveItineraryLocationAfterMutation, Exact<{
        id: string;
        siblingId: string;
    }>, DefaultContext, ApolloCache<any>>

Generated using TypeDoc