Skip to content

Commit

Permalink
Added clear console button
Browse files Browse the repository at this point in the history
  • Loading branch information
jLynx committed Jan 2, 2024
1 parent ca033d9 commit 8d73597
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/app/components/Controller/Controller.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@ export default function Controller() {
>
Send
</button>
<button
type="submit"
className="p-2 bg-red-500 text-white rounded-md"
onClick={() => {
setConsoleMessageList("");
}}
>
Clear
</button>
</div>
<textarea
className="w-[80%] h-[350px] p-2 bg-gray-200 rounded text-black"
Expand Down

0 comments on commit 8d73597

Please sign in to comment.