From 52b2dbb0f41d5053668fbff57ac931cb245c8703 Mon Sep 17 00:00:00 2001 From: Vadym Pavlyk Date: Wed, 4 Dec 2024 17:40:40 +0200 Subject: [PATCH] Fixed duplicate name `enrolledUsers` in `CreateOrEditOffer.constants.ts` (#2933) There was a sonar issue with a duplicate name in a file, but now it is fixed! --- .../create-or-edit-offer/CreateOrEditOffer.constants.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/containers/offer-page/create-or-edit-offer/CreateOrEditOffer.constants.ts b/src/containers/offer-page/create-or-edit-offer/CreateOrEditOffer.constants.ts index 31f8b22f9..220827126 100644 --- a/src/containers/offer-page/create-or-edit-offer/CreateOrEditOffer.constants.ts +++ b/src/containers/offer-page/create-or-edit-offer/CreateOrEditOffer.constants.ts @@ -6,7 +6,6 @@ export const getInitialValues = (offer: Offer | null) => ({ subject: offer?.subject._id ?? '', proficiencyLevel: offer?.proficiencyLevel ?? [], languages: offer?.languages ?? [], - enrolledUsers: [], title: offer?.title ?? '', description: offer?.description ?? '', price: offer?.price.toString() ?? '',