Skip to content

Commit fb804da

Browse files
committed
Update variable name
1 parent 858ae52 commit fb804da

File tree

1 file changed

+2
-2
lines changed
  • src/apps/copilots/src/pages/copilot-request-form

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const CopilotRequestForm: FC<{}> = () => {
4545
const [formErrors, setFormErrors] = useState<any>({})
4646
const [paymentType, setPaymentType] = useState<string>('')
4747
const [projectFromQuery, setProjectFromQuery] = useState<Project>()
48-
const isActiveProject = ['active', 'approved', 'draft', 'new']
48+
const activeProjectStatuses = ['active', 'approved', 'draft', 'new']
4949

5050
const { data: copilotRequestData }: CopilotRequestResponse = useCopilotRequest(routeParams.requestId)
5151

@@ -118,7 +118,7 @@ const CopilotRequestForm: FC<{}> = () => {
118118
const response = await getProjects(inputValue, {
119119
filter: {
120120
status: {
121-
$in: [isActiveProject],
121+
$in: [activeProjectStatuses],
122122
},
123123
},
124124
})

0 commit comments

Comments
 (0)