Skip to content

Commit

Permalink
Update page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
felixlaii committed Mar 5, 2024
1 parent ee88e97 commit 9e37d7d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
import { useState, useEffect } from "react";

export default function Home() {
const [inputValue, setInputValue] = useState("");
const [chatLog, setChatLog] = useState([]);
const [isLoading, setIsLoading] = useState(false);
return (
<>
<h1>ChatGPT Clone</h1>
<form>
<input type="text" placeholder="type your message" />
<input
type="text"
placeholder="type your message"
value={inputValue}
onChange={(e) => setInputValue}
/>
</form>
</>
);
Expand Down

0 comments on commit 9e37d7d

Please sign in to comment.