diff --git a/src/features/binnacle/features/activity/ui/components/activity-form/components/select-role-section.tsx b/src/features/binnacle/features/activity/ui/components/activity-form/components/select-role-section.tsx index e004c8c5..ed46956f 100644 --- a/src/features/binnacle/features/activity/ui/components/activity-form/components/select-role-section.tsx +++ b/src/features/binnacle/features/activity/ui/components/activity-form/components/select-role-section.tsx @@ -20,7 +20,6 @@ export const SelectRoleSection: FC = (props: Props) => { const { t } = useTranslation() const { field: showRecentRoleField } = useController({ control, name: 'showRecentRole' }) const { field: recentProjectRoleField } = useController({ control, name: 'recentProjectRole' }) - const { field: projectField } = useController({ control, name: 'project' }) const [recentRoleListIsEmpty, setRecentRoleListIsEmpty] = useState(false) const organizationRef = useRef(null) @@ -65,7 +64,6 @@ export const SelectRoleSection: FC = (props: Props) => { showRecentRoleField.onChange(false) }} onChange={(value) => { - projectField.onChange(value.project) recentProjectRoleField.onChange(value) }} projectRole={recentProjectRoleField.value}