From 9d5a69c8fe284e72d21ef1b3787b13dbfa42dedd Mon Sep 17 00:00:00 2001 From: eirikhaugstulen Date: Thu, 16 Jan 2025 10:04:25 +0100 Subject: [PATCH] fix: remove divider --- .../OverflowMenu/OverflowMenu.component.js | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/src/core_modules/capture-core/components/WidgetProfile/OverflowMenu/OverflowMenu.component.js b/src/core_modules/capture-core/components/WidgetProfile/OverflowMenu/OverflowMenu.component.js index 4fcd1e4b96..7824e0c36a 100644 --- a/src/core_modules/capture-core/components/WidgetProfile/OverflowMenu/OverflowMenu.component.js +++ b/src/core_modules/capture-core/components/WidgetProfile/OverflowMenu/OverflowMenu.component.js @@ -1,6 +1,6 @@ // @flow import React, { useState } from 'react'; -import { FlyoutMenu, IconMore16, MenuItem, MenuDivider } from '@dhis2/ui'; +import { FlyoutMenu, IconMore16, MenuItem } from '@dhis2/ui'; import i18n from '@dhis2/d2-i18n'; import type { PlainProps } from './OverflowMenu.types'; import { DeleteMenuItem, DeleteModal } from './Delete'; @@ -39,16 +39,13 @@ export const OverflowMenuComponent = ({ component={ {displayChangelog && ( - <> - { - setChangelogIsOpen(true); - setActionsIsOpen(false); - }} - /> - - + { + setChangelogIsOpen(true); + setActionsIsOpen(false); + }} + /> )} {!readOnlyMode && (