File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/apps/copilots/src/pages/copilot-opportunity-details Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,10 @@ const CopilotOpportunityDetails: FC<{}> = () => {
65
65
[ profile ] ,
66
66
)
67
67
const { data : copilotApplications } : { data ?: CopilotApplication [ ] } = useCopilotApplications ( opportunityId )
68
- const appliedCopilotApplications = useMemo ( ( ) => copilotApplications ?. filter ( item => item . userId === profile ?. userId ) , [ copilotApplications , profile ] )
68
+ const appliedCopilotApplications = useMemo (
69
+ ( ) => copilotApplications ?. filter ( item => item . userId === profile ?. userId ) ,
70
+ [ copilotApplications , profile ] ,
71
+ )
69
72
const { data : members } : { data ?: FormattedMembers [ ] } = useMembers (
70
73
copilotApplications ? copilotApplications ?. map ( item => item . userId ) : [ ] ,
71
74
)
You can’t perform that action at this time.
0 commit comments