[Update] empty code placeholder

pull/3/head
Mist 2024-02-19 22:51:39 +08:00
parent 794e96330c
commit 82d858a239
1 changed files with 1 additions and 8 deletions

View File

@ -10,14 +10,7 @@ import { ControlBar, Editor, Frame, Panel } from "./components";
import { useConfig, useEvent } from "./hooks"; import { useConfig, useEvent } from "./hooks";
import { toPng, toJpeg, toBlob, toPixelData, toSvg } from "html-to-image"; import { toPng, toJpeg, toBlob, toPixelData, toSvg } from "html-to-image";
const CODE_EMPTY_PLACEHOLDER = ` const CODE_EMPTY_PLACEHOLDER = `print "Hello, CodeSnap.nvim!"`;
`;
function App() { function App() {
const [socketUrl] = useState("ws://127.0.0.1:8080/ws"); const [socketUrl] = useState("ws://127.0.0.1:8080/ws");