Skip to content

Commit

Permalink
remove unused redux actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Mar 11, 2024
1 parent e46bb30 commit fbf19aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
13 changes: 0 additions & 13 deletions src/Redux/actions.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { HCXClaimModel, HCXPolicyModel } from "../Components/HCX/models";
import { MedibaseMedicine } from "../Components/Medicine/models";
import { fireRequest } from "./fireRequest";

// Facility
Expand Down Expand Up @@ -204,18 +203,6 @@ export const editInvestigation = (
});
};

// ICD11
export const listICD11Diagnosis = (params: object) => {
return fireRequest("listICD11Diagnosis", [], params, null);
};
// Medibase
export const listMedibaseMedicines = (
query: string,
type?: MedibaseMedicine["type"]
) => {
return fireRequest("listMedibaseMedicines", [], { query, type });
};

// Resource
export const downloadResourceRequests = (params: object) => {
return fireRequest("downloadResourceRequests", [], params);
Expand Down
3 changes: 2 additions & 1 deletion src/Redux/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import {
StateModel,
WardModel,
} from "../Components/Facility/models";
import { Prescription } from "../Components/Medicine/models";
import { MedibaseMedicine, Prescription } from "../Components/Medicine/models";
import {
NotificationData,
PNconfigData,
Expand Down Expand Up @@ -1119,6 +1119,7 @@ const routes = {
// Medibase
listMedibaseMedicines: {
path: "/api/v1/medibase/",
TRes: Type<MedibaseMedicine[]>(),
},

// Resource
Expand Down

0 comments on commit fbf19aa

Please sign in to comment.