@@ -6,7 +6,6 @@ import fetch from '@/helperFunctions/fetch';
66import { IssueCardProps } from '@/interfaces/issueProps.type' ;
77import { TASKS_URL } from '../../constants/url' ;
88import useUserData from '@/hooks/useUserData' ;
9- import { useRouter } from 'next/router' ;
109import { useUpdateTaskMutation } from '@/app/services/tasksApi' ;
1110import { TASK_REQUEST_TYPES } from '@/constants/tasks' ;
1211import { FEATURE } from '@/constants/task-type' ;
@@ -18,8 +17,6 @@ import { useAddOrUpdateMutation } from '@/app/services/taskRequestApi';
1817const { SUCCESS , ERROR } = ToastTypes ;
1918
2019const Card : FC < IssueCardProps > = ( { issue } ) => {
21- const router = useRouter ( ) ;
22- const { dev } = router . query ;
2320 const date = new Date ( issue . created_at ) . toDateString ( ) ;
2421 const [ taskExists , setTaskExists ] = useState ( issue . taskExists ?? false ) ;
2522 const [ isLoading , setIsLoading ] = useState ( false ) ;
@@ -107,7 +104,7 @@ const Card: FC<IssueCardProps> = ({ issue }) => {
107104 proposedStartDate : data . startedOn ,
108105 proposedDeadline : data . endsOn ,
109106 description : data . description ,
110- markdownEnabled : dev === ' true' ,
107+ markdownEnabled : true ,
111108 } ;
112109 if ( ! requestData . description ) delete requestData . description ;
113110 try {
0 commit comments