Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant committed Dec 7, 2024
1 parent 379b66b commit 412068e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion client/src/components/modal/ConfirmationModal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Alert, Button, Modal, TextInput } from "flowbite-react";
import { ReactElement, useState } from "react";
import type { ReactElement } from "react";
import { useState } from "react";
import { useTranslation } from "react-i18next";
import {
HiInformationCircle,
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/progressBar/progressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const PercentageProgressBar = ({
<div
style={{ width: `100%` }}
className={clsx(
"pattern-diagonal-lines pattern-red-600 pattern-bg-red-400 pattern-size-4 bold flex flex-col justify-center text-center text-base text-white",
"pattern-diagonal-lines flex flex-col justify-center text-center text-base text-white pattern-bg-red-400 pattern-red-600 pattern-size-4",
)}
data-testid={"percentage-progress-bar-error"}
></div>
Expand Down
3 changes: 2 additions & 1 deletion client/src/helpers/isSmallScreen.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { describe, expect, it, Mock } from "vitest";
import type { Mock } from "vitest";
import { describe, expect, it } from "vitest";
import { isBrowser } from "./isBrowser";
import { isSmallScreen } from "./isSmallScreen";

Expand Down
5 changes: 3 additions & 2 deletions client/src/routes/authenticatedRoutes/flags/flagRow.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ import { render, screen } from "@testing-library/react";
import { userEvent } from "@testing-library/user-event";
import { Table, TableBody } from "flowbite-react";
import { MemoryRouter } from "react-router-dom";
import { Mock, beforeEach, expect, vi } from "vitest";
import type { Mock } from "vitest";
import { beforeEach, expect, vi } from "vitest";
import { updateFeatureFlagStatusById } from "../../../api/goffApi.ts";
import { FeatureFlagFormData } from "../../../models/featureFlagFormData.ts";
import type { FeatureFlagFormData } from "../../../models/featureFlagFormData.ts";
import { FlagRow } from "./flagRow.tsx";

vi.mock("../../../api/goffApi.ts", () => ({
Expand Down

0 comments on commit 412068e

Please sign in to comment.