Skip to content

Commit

Permalink
fix: only import Puck CSS on editor pages
Browse files Browse the repository at this point in the history
  • Loading branch information
monospaced authored Jan 12, 2024
1 parent f975d87 commit 22a4182
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion recipes/next/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "@measured/puck/puck.css";
import "./styles.css";

export default function RootLayout({
Expand Down
1 change: 1 addition & 0 deletions recipes/next/app/puck/[...puckPath]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* NB this route is public, and you will need to add authentication
*/

import "@measured/puck/puck.css";
import { Client } from "./client";
import { Metadata } from "next";
import { getPage } from "../../../lib/get-page";
Expand Down

0 comments on commit 22a4182

Please sign in to comment.