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 {
1212} from 'react'
1313import { useLocation , useNavigate , useParams } from 'react-router-dom'
1414import { mutate } from 'swr'
15+ import { toast } from 'react-toastify'
1516import moment from 'moment'
1617
1718import {
@@ -48,7 +49,6 @@ import {
4849import { OpportunityDetails } from './tabs/opportunity-details'
4950import { CopilotApplications } from './tabs/copilot-applications'
5051import styles from './styles.module.scss'
51- import { toast } from 'react-toastify'
5252
5353const CopilotOpportunityDetails : FC < { } > = ( ) => {
5454 const { opportunityId } : { opportunityId ?: string } = useParams < { opportunityId ?: string } > ( )
@@ -127,7 +127,7 @@ const CopilotOpportunityDetails: FC<{}> = () => {
127127 await cancelCopilotOpportunity ( opportunityId )
128128 mutate ( `${ copilotBaseUrl } /copilots/opportunity/${ opportunityId } /applications` )
129129 mutate ( `${ copilotBaseUrl } /copilot/opportunity/${ opportunityId } ` )
130- toast . success ( " Canceled copilot opportunity successfully" )
130+ toast . success ( ' Canceled copilot opportunity successfully' )
131131 }
132132
133133 }
You can’t perform that action at this time.
0 commit comments