Geraldine commited on
Commit
b05b26f
·
verified ·
1 Parent(s): ba55e2a

Update main.js

Browse files
Files changed (1) hide show
  1. main.js +1 -1
main.js CHANGED
@@ -104,7 +104,7 @@ async function sendPrompt() {
104
  });
105
 
106
  const data = await response.json();
107
- / Check if context is empty
108
  if (context.trim() === '') {
109
  // If context is empty, set the entire editor value
110
  editor.setValue(data.response);
 
104
  });
105
 
106
  const data = await response.json();
107
+ // Check if context is empty
108
  if (context.trim() === '') {
109
  // If context is empty, set the entire editor value
110
  editor.setValue(data.response);