Skip to content

Commit

Permalink
Done for today
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-karlsson committed Mar 22, 2024
1 parent 4db7f87 commit 5e826fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Setup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function Setup() {
}
}

function enterTopic(e) {
function handleInputTopic(e) {
const newTopic = e.target.value;
setTopic(newTopic);

Expand Down Expand Up @@ -120,7 +120,7 @@ function Setup() {
rows="2"
cols="30"
value={topic}
onChange={enterTopic}
onChange={handleInputTopic}
onKeyDown={handleKeyDown}
></textarea>
<h3 className={`${!isTopicMissing ? "hidden" : ""}`}>
Expand Down

0 comments on commit 5e826fc

Please sign in to comment.