Skip to content

Commit 201ed64

Browse files
style(web): format PR review restore changes
AI-assisted; verified with the tests and tools listed above.
1 parent a5566fc commit 201ed64

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎apps/web/src/components/pullRequest/PullRequestCodeTab.tsx‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ import {
88
sourceControlClients,
99
} from "@t3tools/client-runtime/source-control-clients";
1010
import type { CodeViewItem, DiffLineAnnotation, SelectedLineRange } from "@pierre/diffs";
11-
import type {
12-
CodeViewAnnotationArgs,
13-
CodeViewDiffItem,
14-
CodeViewHandle,
15-
} from "@pierre/diffs/react";
11+
import type { CodeViewAnnotationArgs, CodeViewDiffItem, CodeViewHandle } from "@pierre/diffs/react";
1612
import type {
1713
EnvironmentId,
1814
PullRequestDetailView,

‎apps/web/src/components/pullRequest/pullRequestCodeViewState.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ describe("pull request refresh pages", () => {
107107
});
108108

109109
it("stays on the last page once every loaded page is unchanged", () => {
110-
const loaded = [{ ...page(), nextCursor: "2" }, { ...page(), cursor: "2" }];
110+
const loaded = [
111+
{ ...page(), nextCursor: "2" },
112+
{ ...page(), cursor: "2" },
113+
];
111114
expect(applyPullRequestDiffPage(loaded, { ...loaded[1]! })).toEqual({
112115
cursor: "2",
113116
slices: loaded,

0 commit comments

Comments
 (0)