Skip to content

Commit 7a6ac72

Browse files
committed
Reorder imports by running biome check --fix
1 parent 7292e63 commit 7a6ac72

32 files changed

+55
-55
lines changed

frontend/.storybook/preview.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
// Please see LICENSE in the repository root for full details.
66

77
import { ArgTypes, Decorator, Parameters, Preview } from "@storybook/react";
8-
import { useLayoutEffect } from "react";
98
import { TooltipProvider } from "@vector-im/compound-web";
9+
import { useLayoutEffect } from "react";
1010

1111
import "../src/shared.css";
1212
import i18n from "../src/i18n";
1313

14-
import localazyMetadata from "./locales";
1514
import { DummyRouter } from "../src/test-utils/router";
15+
import localazyMetadata from "./locales";
1616

1717
export const parameters: Parameters = {
1818
controls: {

frontend/src/components/Block/Block.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Please see LICENSE in the repository root for full details.
66

77
import type { Meta, StoryObj } from "@storybook/react";
8-
import { H1, H5, Body } from "@vector-im/compound-web";
8+
import { Body, H1, H5 } from "@vector-im/compound-web";
99

1010
import Block from "./Block";
1111

frontend/src/components/Client/OAuth2ClientDetail.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
// @vitest-environment happy-dom
88

9-
import { render, cleanup } from "@testing-library/react";
10-
import { describe, expect, it, afterEach } from "vitest";
9+
import { cleanup, render } from "@testing-library/react";
10+
import { afterEach, describe, expect, it } from "vitest";
1111

1212
import { makeFragmentData } from "../../gql/fragment-masking";
1313

frontend/src/components/CompatSession.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import { create } from "react-test-renderer";
1010
import { Provider } from "urql";
11-
import { describe, expect, it, beforeAll } from "vitest";
11+
import { beforeAll, describe, expect, it } from "vitest";
1212
import { never } from "wonka";
1313

1414
import { makeFragmentData } from "../gql";

frontend/src/components/DateTime.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
// Please see LICENSE in the repository root for full details.
66

77
import {
8+
differenceInHours,
89
formatISO,
910
intlFormat,
1011
intlFormatDistance,
11-
differenceInHours,
1212
parseISO,
1313
} from "date-fns";
1414

frontend/src/components/Dialog/Dialog.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import { action } from "@storybook/addon-actions";
88
import type { Meta, StoryObj } from "@storybook/react";
99

10-
import { Dialog, Title, Description } from "./Dialog";
10+
import { Description, Dialog, Title } from "./Dialog";
1111

1212
const Template: React.FC<{
1313
title: string;

frontend/src/components/Dialog/Dialog.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
// Please see LICENSE in the repository root for full details.
66

77
import {
8-
Root as DialogRoot,
9-
Trigger,
10-
Portal,
118
Close,
12-
Title as DialogTitle,
13-
Overlay as DialogOverlay,
149
Content as DialogContent,
10+
Overlay as DialogOverlay,
11+
Root as DialogRoot,
12+
Title as DialogTitle,
13+
Portal,
14+
Trigger,
1515
} from "@radix-ui/react-dialog";
1616
import IconClose from "@vector-im/compound-design-tokens/assets/web/icons/close";
1717
import { Glass, Tooltip } from "@vector-im/compound-web";

frontend/src/components/ErrorBoundary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// SPDX-License-Identifier: AGPL-3.0-only
55
// Please see LICENSE in the repository root for full details.
66

7-
import { ErrorInfo, ReactNode, PureComponent } from "react";
7+
import { ErrorInfo, PureComponent, ReactNode } from "react";
88

99
import GenericError from "./GenericError";
1010
import Layout from "./Layout";

frontend/src/components/OAuth2Session.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import { create } from "react-test-renderer";
1010
import { Provider } from "urql";
11-
import { describe, expect, it, beforeAll } from "vitest";
11+
import { beforeAll, describe, expect, it } from "vitest";
1212
import { never } from "wonka";
1313

1414
import { makeFragmentData } from "../gql";

frontend/src/components/Session/ClientAvatar.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
// @vitest-environment happy-dom
88

9-
import { render, cleanup } from "@testing-library/react";
10-
import { describe, it, expect, afterEach } from "vitest";
9+
import { cleanup, render } from "@testing-library/react";
10+
import { afterEach, describe, expect, it } from "vitest";
1111

1212
import ClientAvatar from "./ClientAvatar";
1313

0 commit comments

Comments
 (0)