diff --git a/apps/portal/src/pages/offers/test.tsx b/apps/portal/src/pages/offers/test.tsx index 6978fa26..fa6880fc 100644 --- a/apps/portal/src/pages/offers/test.tsx +++ b/apps/portal/src/pages/offers/test.tsx @@ -9,7 +9,7 @@ function Test() { limit: 5, location: 'Singapore, Singapore', offset: 0, - sortBy: '-totalYoe', + sortBy: '-monthYearReceived', yoeCategory: 1, }, ]); diff --git a/apps/portal/src/pages/offers/testCreateProfile.tsx b/apps/portal/src/pages/offers/testCreateProfile.tsx index f58dbfd4..d2f9e496 100644 --- a/apps/portal/src/pages/offers/testCreateProfile.tsx +++ b/apps/portal/src/pages/offers/testCreateProfile.tsx @@ -38,7 +38,7 @@ function Test() { ], "experiences": [ { - "companyId": "cl92ly8xm0000w3mwh5ymyqmx", + "companyId": "cl92szctf0008i9nfxk54bhxn", "durationInMonths": 24, "jobType": "FULLTIME", "level": "Junior", @@ -66,7 +66,7 @@ function Test() { "offers": [ { "comments": "", - "companyId": "cl92ly8xm0000w3mwh5ymyqmx", + "companyId": "cl92szctf0008i9nfxk54bhxn", "job": { "base": { "currency": "SGD", @@ -95,7 +95,7 @@ function Test() { }, { "comments": "", - "companyId": "cl92ly8xm0000w3mwh5ymyqmx", + "companyId": "cl92szctf0008i9nfxk54bhxn", "job": { "base": { "currency": "SGD", @@ -126,6 +126,14 @@ function Test() { }); }; + const data = trpc.useQuery([ + `offers.profile.listOne`, + { + profileId: "cl92wc64a004gw3hgq4pfln2m" + } + ]) + + return ( //