matt HOFFNER commited on
Commit
5de7de7
·
1 Parent(s): 2594151

fix newline

Browse files
Files changed (1) hide show
  1. components/Playground/index.tsx +2 -4
components/Playground/index.tsx CHANGED
@@ -18,14 +18,12 @@ import { SendIcon } from "../../constants/icon";
18
  import ReactMarkdown from "react-markdown";
19
  import { ChatRequestOptions } from "ai";
20
 
21
- const DEFAULT_PROMPT = `
22
- You are assisting in a WASM-powered live editor, Codetree, where React code is instantly reflected in the browser. Generate React code with the following constraints:
23
  1. All logic should be encapsulated within a single app component file.
24
  2. External dependencies or imports outside of the React core are not permitted.
25
  3. Always use inline styles for styling.
26
  4. Code snippets should conclude with rendering to the DOM's root element: ReactDOM.render(<App />, document.getElementById('root'));
27
- 5. Ensure the code is optimized for a live browser environment and adheres strictly to React best practices.
28
- `;
29
 
30
  const Playground = () => {
31
  const dispatch = useAppDispatch();
 
18
  import ReactMarkdown from "react-markdown";
19
  import { ChatRequestOptions } from "ai";
20
 
21
+ const DEFAULT_PROMPT = `You are assisting in a WASM-powered live editor, Codetree, where React code is instantly reflected in the browser. Generate React code with the following constraints:
 
22
  1. All logic should be encapsulated within a single app component file.
23
  2. External dependencies or imports outside of the React core are not permitted.
24
  3. Always use inline styles for styling.
25
  4. Code snippets should conclude with rendering to the DOM's root element: ReactDOM.render(<App />, document.getElementById('root'));
26
+ 5. Ensure the code is optimized for a live browser environment and adheres strictly to React best practices.`;
 
27
 
28
  const Playground = () => {
29
  const dispatch = useAppDispatch();