diff --git a/apps/app/components/issues/sidebar-select/blocked.tsx b/apps/app/components/issues/sidebar-select/blocked.tsx index c704b0e45..62169222a 100644 --- a/apps/app/components/issues/sidebar-select/blocked.tsx +++ b/apps/app/components/issues/sidebar-select/blocked.tsx @@ -113,17 +113,9 @@ export const SidebarBlockedSelect: React.FC = ({
{watch("blocked_list") && watch("blocked_list").length > 0 ? watch("blocked_list").map((issue) => ( - { - const updatedBlocked: string[] = watch("blocked_list").filter( - (i) => i !== issue - ); - submitChanges({ - blocks_list: updatedBlocked, - }); - }} > = ({ }`} - + +
)) : null} diff --git a/apps/app/components/issues/sidebar-select/blocker.tsx b/apps/app/components/issues/sidebar-select/blocker.tsx index 6f7ae1d01..4dc245830 100644 --- a/apps/app/components/issues/sidebar-select/blocker.tsx +++ b/apps/app/components/issues/sidebar-select/blocker.tsx @@ -129,7 +129,8 @@ export const SidebarBlockerSelect: React.FC = ({ }`} - { const updatedBlockers: string[] = watch("blockers_list").filter( @@ -141,7 +142,7 @@ export const SidebarBlockerSelect: React.FC = ({ }} > - + )) : null}