feat: remove nextjs production runtime (#1389)
This commit is contained in:
@@ -6,7 +6,7 @@ import type { FileDiffData } from "@/lib/diff/types";
|
||||
|
||||
const fileDiffProps: Array<{ options?: { overflow?: string } }> = [];
|
||||
|
||||
vi.mock("next-themes", () => ({
|
||||
vi.mock("@/components/theme/app-theme", () => ({
|
||||
useTheme: () => ({ resolvedTheme: "dark" }),
|
||||
}));
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useCallback, useMemo, type ReactNode } from "react";
|
||||
import { useTheme } from "next-themes";
|
||||
import { useTheme } from "@/components/theme/app-theme";
|
||||
import type { FileDiffOptions, SelectedLineRange, FileDiffMetadata } from "@pierre/diffs";
|
||||
import { IconPlus } from "@tabler/icons-react";
|
||||
import { FONT } from "@/lib/theme/colors";
|
||||
|
||||
Reference in New Issue
Block a user