Skip to content

Commit

Permalink
➖ remove @codesanbox/sandpack
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineKM committed Feb 15, 2024
1 parent c9236da commit 301542d
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 416 deletions.
98 changes: 0 additions & 98 deletions docs/components/Landing/Render/index.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"start": "next start -p 3001"
},
"dependencies": {
"@codesandbox/sandpack-react": "^2.0.0",
"@codesandbox/sandpack-themes": "^2.0.21",
"@preconstruct/next": "^4.0.0",
"@tonightpass/kitchen": "workspace:*",
"next": "^14.0.4",
Expand Down
9 changes: 1 addition & 8 deletions docs/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
import { getSandpackCssText } from "@codesandbox/sandpack-react";
import { KitchenDocument } from "@tonightpass/kitchen/next";
import { Head, Html, Main, NextScript } from "next/document";

export default class MyDocument extends KitchenDocument {
render() {
return (
<Html>
<Head>
<style
dangerouslySetInnerHTML={{ __html: getSandpackCssText() }}
id={"sandpack"}
key={"sandpack-css"}
/>
</Head>
<Head />
<body>
<Main />
<NextScript />
Expand Down
Loading

0 comments on commit 301542d

Please sign in to comment.