updated arrow method

This commit is contained in:
Harsha Vardhini 2020-05-15 11:19:06 +05:30 committed by GitHub
parent 64a07641c5
commit 9cbfe12b19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export default class SaveEmailToSharePoint extends React.Component<ISaveEmailToS
});
});
}
public parseErr(msg:string){
public parseErr = (msg:string) => {
return JSON.parse(msg.substring(msg.indexOf('"message"')+10,msg.length-2)).value;
}
public OnSelectSite = (event: React.FormEvent<HTMLDivElement>, item: IDropdownOption) => {