Spaces:
markush1
/
Running on CPU Upgrade

markush1 commited on
Commit
5034e9d
·
verified ·
1 Parent(s): 52c988c

Update components/editor/index.tsx

Browse files
Files changed (1) hide show
  1. components/editor/index.tsx +1 -1
components/editor/index.tsx CHANGED
@@ -27,7 +27,7 @@ import { isTheSameHtml } from "@/lib/compare-html-diff";
27
  export const AppEditor = ({ project }: { project?: Project | null }) => {
28
  const [htmlStorage, , removeHtmlStorage] = useLocalStorage("html_content");
29
  const [, copyToClipboard] = useCopyToClipboard();
30
- const { html, setHtml, htmlHistory, setHtmlHistory, prompts, setPrompts } =
31
  useEditor(project?.html ?? (htmlStorage as string) ?? defaultHTML);
32
  // get query params from URL
33
  const searchParams = useSearchParams();
 
27
  export const AppEditor = ({ project }: { project?: Project | null }) => {
28
  const [htmlStorage, , removeHtmlStorage] = useLocalStorage("html_content");
29
  const [, copyToClipboard] = useCopyToClipboard();
30
+ const { html, setHtml, htmlHistory, setHtmlHistory, setPrompts } =
31
  useEditor(project?.html ?? (htmlStorage as string) ?? defaultHTML);
32
  // get query params from URL
33
  const searchParams = useSearchParams();