Skip to content

Commit 6cffb28

Browse files
committed
remove unused variables
1 parent 0cd4139 commit 6cffb28

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

examples/vite/src/main.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import ThemedPage from "./app/themed-page";
77
import { createBrowserRouter, Outlet, RouterProvider } from "react-router-dom";
88
import { Layout } from "@repo/shared/dist/server";
99
import { ThemeSwitcher } from "nextjs-themes";
10-
import { Header } from "@repo/shared";
1110

1211
const routes = [
1312
{

lib/vitest.setup.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,3 @@ Object.defineProperty(window, "media", {
3131
writable: true,
3232
value: "dark",
3333
});
34-
35-
vi.mock("next/headers", () => ({
36-
cookies: () => ({ get: (cookieName: string) => globalThis.cookies[cookieName] }),
37-
headers: () => ({ get: (h: string) => globalThis.path }),
38-
}));

packages/shared/src/server/cards/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentType, FC, HTMLProps } from "react";
1+
import { FC, HTMLProps } from "react";
22
import styles from "./cards.module.scss";
33

44
export interface CardProps {

packages/shared/src/server/cards/cards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styles from "./cards.module.scss";
2-
import { Card, CardProps } from "./card";
2+
import { Card } from "./card";
33
import { ReactNode } from "react";
44

55
export const cards = [

0 commit comments

Comments
 (0)