Skip to content

Commit 2abcb8c

Browse files
committed
fix comments
1 parent ad03f3d commit 2abcb8c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/esm-patient-queues-app/src/components/actions/death/death-notification-actions-button.component.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { launchWorkspace } from "@openmrs/esm-framework";
22
import React, { useCallback } from "react";
33
import { useTranslation } from "react-i18next";
4+
import styles from "./death-notification-actions-button.module.css";
45

56

67
const DeathNotificationActionsButton : React.FC = () => {
@@ -9,7 +10,7 @@ const DeathNotificationActionsButton : React.FC = () => {
910
const handleLaunchWorkspace = useCallback(() => {
1011
launchWorkspace('patient-form-entry-workspace', {
1112
formInfo: {
12-
formUuid: '00001ae1-1b37-41ca-adb2-17c04df008da',
13+
formUuid: 'bb282ac8-d8b6-4d76-88b9-86da83efec41',
1314
},
1415
workspaceTitle: 'Notification and Certification of Death',
1516
});
@@ -19,14 +20,11 @@ const DeathNotificationActionsButton : React.FC = () => {
1920
return (
2021
<li className="cds--overflow-menu-options__option">
2122
<button
22-
className="cds--overflow-menu-options__btn"
23+
className={`cds--overflow-menu-options__btn ${styles.markDeadButton}`}
2324
role="menuitem"
2425
title={t('markDead', 'Mark Dead')}
2526
data-floating-menu-primary-focus
2627
onClick={() => handleLaunchWorkspace()}
27-
style={{
28-
maxWidth: '100vw',
29-
}}
3028
>
3129
<span className="cds--overflow-menu-options__option-content">{t('markDead', 'Mark Dead')}</span>
3230
</button>

0 commit comments

Comments
 (0)