File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ export const createTraineeAttribute = (attributeData: any) => async (dispatch: A
6161 const { data } = response . data ;
6262 if ( data ?. createTraineeAttribute ) {
6363 dispatch ( { type : CREATE_TRAINEE_ATTRIBUTE_SUCCESS , payload : data . createTraineeAttribute } ) ;
64- toast . success ( "Trainee created successfully." ) ;
64+ toast . success ( "Application Submited successfully." ) ;
6565 return { success : true , data : data . createTraineeAttribute && data . createTraineeAttribute . _id } ;
6666 } else {
67- throw new Error ( "Failed to create trainee attributes: Unexpected response structure" ) ;
67+ throw new Error ( "Failed to create applicant attributes: Unexpected response structure" ) ;
6868 }
6969 } catch ( error : any ) {
7070 handleCreateAttributeError ( error , dispatch ) ;
You can’t perform that action at this time.
0 commit comments