Skip to content

Commit 6c5bd34

Browse files
author
himaniraghav3
committed
linting fix
1 parent e3f4bf9 commit 6c5bd34

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/apps/copilots/src/models/CopilotRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export interface CopilotRequest {
1010
numHoursPerWeek: number,
1111
numWeeks: number,
1212
overview: string,
13-
paymentType: string,
13+
paymentType: string,
1414
requiresCommunicatn: 'yes' | 'no',
1515
skills: UserSkill[],
1616
startDate: Date,
1717
tzRestrictions: 'yes' | 'no',
18-
}
18+
}

src/apps/copilots/src/pages/copilot-request-form/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const CopilotRequestForm: FC<{}> = () => {
172172
if (isEmpty(updatedFormErrors)) {
173173
saveCopilotRequest(formValues)
174174
.then(() => {
175-
toast.success('Subscription updated successfully')
175+
toast.success('Copilot request sent successfully')
176176
// Reset form after successful submission
177177
setFormValues({})
178178
setIsFormChanged(false)
@@ -181,7 +181,7 @@ const CopilotRequestForm: FC<{}> = () => {
181181
setPaymentType('')
182182
})
183183
.catch(() => {
184-
toast.error('Error updating subscription')
184+
toast.error('Error sending copilot request')
185185
})
186186
}
187187

0 commit comments

Comments
 (0)