[offers][feat] Integrate offers profile edit (#403)

* [offers][fix] Fix offer analysis and save

* [offers][fix] Fix profile view page

* [offers][feat] Add offers profile edit
This commit is contained in:
Ai Ling
2022-10-21 02:19:29 +08:00
committed by GitHub
parent 0adec461d0
commit 11df1e1f1c
20 changed files with 496 additions and 374 deletions

View File

@@ -216,7 +216,7 @@ export const offersAnalysisRouter = createRouter()
// TODO: Shift yoe out of background to make it mandatory
if (
!overallHighestOffer.profile.background ||
!overallHighestOffer.profile.background.totalYoe
overallHighestOffer.profile.background.totalYoe === undefined
) {
throw new TRPCError({
code: 'BAD_REQUEST',