Skip to content

Commit

Permalink
1334: Removed unused import, fixed button overlap issue on Mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush6194 committed Dec 11, 2024
1 parent c34303b commit 84c9801
Showing 1 changed file with 4 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,15 @@ import {
Grid,
Column,
Section,
DataTable,
Table,
TableHead,
TableRow,
TableBody,
TableHeader,
TableCell,
TableSelectRow,
TableSelectAll,
TableContainer,
Pagination,
Search,
Modal,
TextInput,
Dropdown,
TextArea,
Checkbox,
} from "@carbon/react";
import {
getFromOpenElisServer,
postToOpenElisServerFullResponse,
postToOpenElisServerJsonResponse,
} from "../../utils/Utils.js";
import {
ConfigurationContext,
NotificationContext,
} from "../../layout/Layout.js";
import {
Expand All @@ -39,8 +23,6 @@ import {
} from "../../common/CustomNotification.js";
import { FormattedMessage, injectIntl, useIntl } from "react-intl";
import PageBreadCrumb from "../../common/PageBreadCrumb.js";
import { ArrowLeft, ArrowRight, Cost } from "@carbon/icons-react";
import ActionPaginationButtonType from "../../common/ActionPaginationButtonType.js";

let breadcrumbs = [
{ label: "home.label", link: "/" },
Expand Down Expand Up @@ -80,8 +62,6 @@ function TestNotificationConfigEdit() {
] = useState({});
const [testNamesList, setTestNamesList] = useState([]);
const [testName, setTestName] = useState("");
const [testNotificationConfigMenuList, setTestNotificationConfigMenuList] =
useState([]);

useEffect(() => {
if (testNotificationConfigEditData) {
Expand Down Expand Up @@ -565,7 +545,7 @@ function TestNotificationConfigEdit() {
</Grid>
<br />
<Grid fullWidth={true}>
<Column lg={4} md={4} sm={2}>
<Column lg={4} md={4} sm={4}>
<Button
onClick={() => {
setIndMsg("0");
Expand All @@ -575,7 +555,7 @@ function TestNotificationConfigEdit() {
<FormattedMessage id="testnotification.patient.email" />
</Button>
</Column>{" "}
<Column lg={4} md={4} sm={2}>
<Column lg={4} md={4} sm={4}>
<Button
onClick={() => {
setIndMsg("1");
Expand All @@ -585,7 +565,7 @@ function TestNotificationConfigEdit() {
<FormattedMessage id="testnotification.patient.sms" />
</Button>
</Column>{" "}
<Column lg={4} md={4} sm={2}>
<Column lg={4} md={4} sm={4}>
<Button
onClick={() => {
setIndMsg("2");
Expand All @@ -595,7 +575,7 @@ function TestNotificationConfigEdit() {
<FormattedMessage id="testnotification.provider.email" />
</Button>
</Column>{" "}
<Column lg={4} md={4} sm={2}>
<Column lg={4} md={4} sm={4}>
<Button
onClick={() => {
setIndMsg("3");
Expand Down

0 comments on commit 84c9801

Please sign in to comment.