File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/apps/copilots/src/pages/copilot-opportunity-details Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import {
12
12
} from 'react'
13
13
import { useLocation , useNavigate , useParams } from 'react-router-dom'
14
14
import { mutate } from 'swr'
15
+ import { toast } from 'react-toastify'
15
16
import moment from 'moment'
16
17
17
18
import {
@@ -48,7 +49,6 @@ import {
48
49
import { OpportunityDetails } from './tabs/opportunity-details'
49
50
import { CopilotApplications } from './tabs/copilot-applications'
50
51
import styles from './styles.module.scss'
51
- import { toast } from 'react-toastify'
52
52
53
53
const CopilotOpportunityDetails : FC < { } > = ( ) => {
54
54
const { opportunityId } : { opportunityId ?: string } = useParams < { opportunityId ?: string } > ( )
@@ -127,7 +127,7 @@ const CopilotOpportunityDetails: FC<{}> = () => {
127
127
await cancelCopilotOpportunity ( opportunityId )
128
128
mutate ( `${ copilotBaseUrl } /copilots/opportunity/${ opportunityId } /applications` )
129
129
mutate ( `${ copilotBaseUrl } /copilot/opportunity/${ opportunityId } ` )
130
- toast . success ( " Canceled copilot opportunity successfully" )
130
+ toast . success ( ' Canceled copilot opportunity successfully' )
131
131
}
132
132
133
133
}
You can’t perform that action at this time.
0 commit comments