diff --git a/src/pages/MainPage/Main.tsx b/src/pages/MainPage/Main.tsx index 588505d..a5b9cc8 100644 --- a/src/pages/MainPage/Main.tsx +++ b/src/pages/MainPage/Main.tsx @@ -65,7 +65,6 @@ export default () => { setLocation(op.result5[0]) setType(op.result6[0]) setDateOp(dayjs(op.result10[0]).format('MMMM DD, YYYY')) - // setClient(displayFullname(op.result2[0], op.result3[0], op.result4[0])) setApplicationId(op.result11[0]) setAssessorId(op.result12[0]) setTotalOp(calculateTotal(op.result9)) @@ -81,20 +80,6 @@ export default () => { return total } - // const displayFullname = (firstname: string, middleinitial: string, lastname: string) => { - // let result - // if (firstname.length > 0) { - // if (middleinitial.length > 0) { - // result = `${firstname} ${middleinitial}. ${lastname}` - // } else { - // result = `${firstname} ${lastname}` - // } - // } else { - // result = lastname - // } - // return result - // } - const approveHandler = async (application: string) => { let signed: boolean = false let forprinting: boolean = false