forked from mirror/codesnap.nvim
[Update] empty code placeholder
parent
794e96330c
commit
82d858a239
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue