@@ -22,7 +22,6 @@ import {
2222} from '@db' ;
2323import { RefreshCw , Trash2 } from 'lucide-react' ;
2424import { useAction } from 'next-safe-action/hooks' ;
25- import { useFeatureFlagEnabled } from 'posthog-js/react' ;
2625import { useState } from 'react' ;
2726import { toast } from 'sonner' ;
2827import { Comments } from '../../../../../../components/comments/Comments' ;
@@ -56,7 +55,6 @@ export function SingleTask({ initialTask, initialAutomations }: SingleTaskProps)
5655 const { automations } = useTaskAutomations ( {
5756 initialData : initialAutomations ,
5857 } ) ;
59- const isTaskAutomationEnabled = useFeatureFlagEnabled ( 'is-task-automation-enabled' ) ;
6058
6159 const [ deleteDialogOpen , setDeleteDialogOpen ] = useState ( false ) ;
6260 const [ isRegenerateConfirmOpen , setRegenerateConfirmOpen ] = useState ( false ) ;
@@ -168,11 +166,9 @@ export function SingleTask({ initialTask, initialAutomations }: SingleTaskProps)
168166 </ div >
169167 </ Card >
170168 { /* Automations section */ }
171- { isTaskAutomationEnabled && (
172- < Card className = "border border-border bg-card shadow-sm overflow-hidden" >
173- < TaskAutomations automations = { automations || [ ] } />
174- </ Card >
175- ) }
169+ < Card className = "border border-border bg-card shadow-sm overflow-hidden" >
170+ < TaskAutomations automations = { automations || [ ] } />
171+ </ Card >
176172 </ div >
177173 </ div >
178174
0 commit comments