Skip to content

Commit 93ea62e

Browse files
committed
PROD-2757 #comment Fix cost and days are not updated in the top of the bug hunt form according to the selected package when editing
1 parent 5d5fbdb commit 93ea62e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src-ts/tools/work/work-self-service/intake-forms/bug-hunt/BugHuntIntakeForm.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const BugHuntIntakeForm: React.FC = () => {
109109

110110
setFormValues(formData)
111111

112-
if (formData?.packageType && formData?.packageType !== selectedPackage) {
112+
if (formData?.packageType) {
113113
setSelectedPackage(formData.packageType)
114114
}
115115
}
@@ -118,7 +118,6 @@ const BugHuntIntakeForm: React.FC = () => {
118118
getAndSetWork().finally(() => setLoading(false))
119119
}, [
120120
isLoggedIn,
121-
selectedPackage,
122121
workId,
123122
])
124123

0 commit comments

Comments
 (0)