FrederickSundeep commited on
Commit
5e5dfd2
·
1 Parent(s): 7ec2600

commit 12345 updated

Browse files
Files changed (1) hide show
  1. src/App.js +0 -5
src/App.js CHANGED
@@ -60,10 +60,6 @@ export default function App() {
60
  if (lastCode) handleSend("Fix the bug in this code and explain");
61
  };
62
 
63
- // const handleStackOverflow = () => {
64
- // if (lastCode) handleSend(`Search StackOverflow for this issue:\n\n${lastCode}`);
65
- // };
66
-
67
  return (
68
  <div className="app">
69
  <h1>🧑‍💻 DevMate</h1>
@@ -84,7 +80,6 @@ export default function App() {
84
  }} />
85
  <button onClick={handleExplain} disabled={!fileUploaded}>Explain Code</button>
86
  <button onClick={handleFixBug} disabled={!fileUploaded}>Fix Bug</button>
87
- {/* <button onClick={handleStackOverflow}>StackOverflow</button> */}
88
  <button onClick={() => {
89
  setMessages([]);
90
  setLastCode("");
 
60
  if (lastCode) handleSend("Fix the bug in this code and explain");
61
  };
62
 
 
 
 
 
63
  return (
64
  <div className="app">
65
  <h1>🧑‍💻 DevMate</h1>
 
80
  }} />
81
  <button onClick={handleExplain} disabled={!fileUploaded}>Explain Code</button>
82
  <button onClick={handleFixBug} disabled={!fileUploaded}>Fix Bug</button>
 
83
  <button onClick={() => {
84
  setMessages([]);
85
  setLastCode("");