diff --git a/apps/desktop/src/app/webhooks/index.tsx b/apps/desktop/src/app/webhooks/index.tsx index 53d760e2f79b..9d03f00e0533 100644 --- a/apps/desktop/src/app/webhooks/index.tsx +++ b/apps/desktop/src/app/webhooks/index.tsx @@ -16,13 +16,7 @@ import { DialogTitle } from '@/components/ui/dialog' import { Input } from '@/components/ui/input' -import { - Select, - SelectContent, - SelectItem, - SelectTrigger, - SelectValue -} from '@/components/ui/select' +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select' import { Textarea } from '@/components/ui/textarea' import { createWebhook, @@ -259,9 +253,7 @@ export function WebhooksView({ onClose }: WebhooksViewProps) { current ? { ...current, - subscriptions: current.subscriptions.map(s => - s.name === subName ? { ...s, enabled: nextEnabled } : s - ) + subscriptions: current.subscriptions.map(s => (s.name === subName ? { ...s, enabled: nextEnabled } : s)) } : current ) @@ -409,9 +401,7 @@ export function WebhooksView({ onClose }: WebhooksViewProps) { title={sub.name} /> ))} - {visible.length === 0 && ( -

{w.empty}

- )} + {visible.length === 0 &&

{w.empty}

} { @@ -421,11 +411,7 @@ export function WebhooksView({ onClose }: WebhooksViewProps) { /> - {selectedSub ? ( - - ) : ( - - )} + {selectedSub ? : } )} @@ -441,11 +427,7 @@ export function WebhooksView({ onClose }: WebhooksViewProps) { {created ? (
} title={w.webhookUrl} wide /> - } - title={w.secretOnce} - wide - /> + } title={w.secretOnce} wide />