diff --git a/apps/web/core/components/dropdowns/cycle/index.tsx b/apps/web/core/components/dropdowns/cycle/index.tsx index a2a9919b1b..49921d97eb 100644 --- a/apps/web/core/components/dropdowns/cycle/index.tsx +++ b/apps/web/core/components/dropdowns/cycle/index.tsx @@ -83,9 +83,7 @@ export const CycleDropdown = observer(function CycleDropdown(props: Props) { handleClose(); }; - const comboButton = ( - <> - {button ? ( + const comboButton = button ? ( - )} - - ); + ); return ( - {button ? ( + const comboButton = button ? ( - )} - - ); + ); return ( - {button ? ( + const comboButton = button ? ( - )} - - ); + ); return ( // oxlint-disable-next-line jsx_a11y/no-static-element-interactions diff --git a/apps/web/core/components/dropdowns/member/base.tsx b/apps/web/core/components/dropdowns/member/base.tsx index 577e60a781..cd0e043cf4 100644 --- a/apps/web/core/components/dropdowns/member/base.tsx +++ b/apps/web/core/components/dropdowns/member/base.tsx @@ -108,9 +108,7 @@ export const MemberDropdownBase = observer(function MemberDropdownBase(props: TM } }; - const comboButton = ( - <> - {button ? ( + const comboButton = button ? ( - )} - - ); + ); return ( - {button ? ( + const comboButton = button ? ( - )} - - ); + ); return ( - {button ? ( + const comboButton = button ? ( - )} - - ); + ); return ( - {button ? ( + const comboButton = button ? ( - )} - - ); + ); return ( - {button ? ( + const comboButton = button ? ( - )} - - ); + ); return ( // oxlint-disable-next-line jsx_a11y/no-static-element-interactions