From e0062324a405b89850f85a58f0cb3d8136ae7b95 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 8 Jul 2024 16:01:05 +0200 Subject: [PATCH] fix linting --- src/components/SidebarBottom.tsx | 2 +- src/screens/VisualTests/SnapshotComparison.stories.tsx | 2 +- src/screens/VisualTests/VisualTests.tsx | 2 +- src/utils/storyWrapper.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/SidebarBottom.tsx b/src/components/SidebarBottom.tsx index 43fbf989..8b9f9341 100644 --- a/src/components/SidebarBottom.tsx +++ b/src/components/SidebarBottom.tsx @@ -1,7 +1,7 @@ -import type { API_FilterFunction } from "storybook/internal/types"; import React, { useCallback, useEffect } from "react"; import { type API, type State, useStorybookState } from "storybook/internal/manager-api"; import { styled } from "storybook/internal/theming"; +import type { API_FilterFunction } from "storybook/internal/types"; import { ADDON_ID, ENABLE_FILTER } from "../constants"; import { SidebarToggleButton } from "./SidebarToggleButton"; diff --git a/src/screens/VisualTests/SnapshotComparison.stories.tsx b/src/screens/VisualTests/SnapshotComparison.stories.tsx index 9e62c2e7..75617db1 100644 --- a/src/screens/VisualTests/SnapshotComparison.stories.tsx +++ b/src/screens/VisualTests/SnapshotComparison.stories.tsx @@ -2,9 +2,9 @@ import { action } from "@storybook/addon-actions"; import type { Meta, StoryObj } from "@storybook/react"; import { findByRole, fireEvent, screen, userEvent, within } from "@storybook/testing-library"; -import type { StoryContext } from "storybook/internal/types"; import { delay, http } from "msw"; import React, { ComponentProps } from "react"; +import type { StoryContext } from "storybook/internal/types"; import { Browser, ComparisonResult, TestResult, TestStatus } from "../../gql/graphql"; import { panelModes } from "../../modes"; diff --git a/src/screens/VisualTests/VisualTests.tsx b/src/screens/VisualTests/VisualTests.tsx index c45c4c9d..73df0183 100644 --- a/src/screens/VisualTests/VisualTests.tsx +++ b/src/screens/VisualTests/VisualTests.tsx @@ -1,8 +1,8 @@ import { FailedIcon } from "@storybook/icons"; -import type { API_StatusState } from "storybook/internal/types"; import React, { useCallback, useEffect } from "react"; import { useStorybookApi, useStorybookState } from "storybook/internal/manager-api"; import { color } from "storybook/internal/theming"; +import type { API_StatusState } from "storybook/internal/types"; import { useMutation } from "urql"; import { ADDON_ID, PANEL_ID } from "../../constants"; diff --git a/src/utils/storyWrapper.tsx b/src/utils/storyWrapper.tsx index 07402871..aa17f833 100644 --- a/src/utils/storyWrapper.tsx +++ b/src/utils/storyWrapper.tsx @@ -1,6 +1,6 @@ import type { Decorator } from "@storybook/react"; -import type { StoryContext } from "storybook/internal/types"; import React from "react"; +import type { StoryContext } from "storybook/internal/types"; export const storyWrapper = ( Wrapper: React.FunctionComponent,