Skip to content

Commit

Permalink
Fix eslint import order
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbrown committed Sep 28, 2023
1 parent 6cd997e commit c31ac0f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/testQueue/QueueItemSubmitLoader.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import classNames from "classnames";
import { useFeature } from "flagged";
import { CSSTransition } from "react-transition-group";

import iconLoader from "../../img/loader.svg";

import "./QueueItemSubmitLoader.scss";
import { useFeature } from "flagged";

type Props = {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/testQueue/TestCard/TestCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import Button from "../../commonComponents/Button/Button";
import { removeTimer, TestTimerWidget, useTestTimer } from "../TestTimer";
import { RootState } from "../../store";
import "./TestCard.scss";

import TestCardForm from "../TestCardForm/TestCardForm";
import { useTestOrderPatient } from "../TestCardForm/TestCardForm.utils";

Expand Down Expand Up @@ -61,6 +60,7 @@ export const TestCard = ({
testCardElement.current.scrollIntoView({ behavior: "smooth" });
}
// only run on first render to prevent disruptive repeated scrolls
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

const timerContext = {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/app/testQueue/TestCardForm/TestCardForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import {
import { removeTimer, updateTimer } from "../TestTimer";
import { showError } from "../../utils/srToast";
import "./TestCardForm.scss";

import {
TestCorrectionReason,
TestCorrectionReasons,
Expand Down

0 comments on commit c31ac0f

Please sign in to comment.