Skip to content

Commit

Permalink
Rename functions to start with uppercase letter
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzy11 committed Mar 8, 2024
1 parent b8b2040 commit 723691d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import CustomDatePicker from "../../common/CustomDatePicker";
import config from "../../../config.json";


const hivTestSummary = () => {
const HivTestSummary = () => {
const intl = useIntl();

const [loading, setLoading] = useState(false);
Expand Down Expand Up @@ -143,4 +143,4 @@ const hivTestSummary = () => {
);
};

export default hivTestSummary;
export default HivTestSummary;
6 changes: 3 additions & 3 deletions frontend/src/components/Reports/routine/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import {
} from "@carbon/react";
import { injectIntl, FormattedMessage, useIntl } from "react-intl";
import config from "../../../config.json";
import StatisticsReport from "./statisticsReport";
import SummaryOfAllTest from "./summaryOfAllTest";
import HIVTestSummary from "./hivTestSummary";
import StatisticsReport from "./StatisticsReport";
import SummaryOfAllTest from "./SummaryOfAllTest";
import HIVTestSummary from "./HivTestSummary";

const RoutineIndex = () => {
const intl = useIntl();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const timeFrames = [
{ id: 'OUT_OF_NORMAL_WORK_HOURS', description: 'Out of Normal Work Hours (15h31-8h59)' }
];

const statisticsReport = () => {
const StatisticsReport = () => {
const intl = useIntl();
const [labUnits, setLabUnits] = useState([]);
const [priorities, setPriorities] = useState([]);
Expand Down Expand Up @@ -257,4 +257,4 @@ const statisticsReport = () => {
);
};

export default statisticsReport;
export default StatisticsReport;
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import CustomDatePicker from "../../common/CustomDatePicker";
import config from "../../../config.json";


const summaryOfAllTest = () => {
const SummaryOfAllTest = () => {
const intl = useIntl();

const [loading, setLoading] = useState(false);
Expand Down Expand Up @@ -142,4 +142,4 @@ const summaryOfAllTest = () => {
);
};

export default summaryOfAllTest;
export default SummaryOfAllTest;

0 comments on commit 723691d

Please sign in to comment.