Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 24, 2024
1 parent a0646e9 commit 9cd9b92
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/app-router/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Inter } from "next/font/google";
import Link from "next/link";
import { Cards, LandingPage } from "@repo/shared/dist/server";
import { PageNavigatorCard, ThemeController } from "@repo/shared";
import { ColorSwitch } from "nextjs-themes";
import { ColorSwitch } from "nextjs-themes/color-switch";

const inter = Inter({ subsets: ["latin"] });

Expand Down
2 changes: 1 addition & 1 deletion examples/pages-router/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Header } from "@repo/shared";
import Link from "next/link";
import { Card, Cards, LandingPage } from "@repo/shared/dist/server";
import { ThemeController, PageNavigatorCard } from "@repo/shared";
import { ColorSwitch } from "nextjs-themes";
import { ColorSwitch } from "nextjs-themes/color-switch";

const inter = Inter({ subsets: ["latin"] });

Expand Down
2 changes: 1 addition & 1 deletion examples/vite/src/app/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import "./styles.css";
import { Cards, LandingPage } from "@repo/shared/dist/server";
import { ColorSwitch } from "nextjs-themes";
import { ColorSwitch } from "nextjs-themes/color-switch";
import { Header, PageNavigatorCard, ThemeController } from "@repo/shared";
import { Link } from "react-router-dom";

Expand Down
6 changes: 3 additions & 3 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@
"import": "./dist/hooks/index.mjs",
"types": "./dist/hooks/index.d.ts"
},
"./styles.css": "./dist/index.css",
"./styles": "./dist/index.css",
"./css": "./dist/index.css"
"./styles.css": "./dist/client/color-switch/index.css",
"./styles": "./dist/client/color-switch/index.css",
"./css": "./dist/client/color-switch/index.css"
},
"scripts": {
"build": "tsup && tsc -p tsconfig-build.json",
Expand Down

0 comments on commit 9cd9b92

Please sign in to comment.