Skip to content

Commit

Permalink
Update Name.jsx
Browse files Browse the repository at this point in the history
rm empty space
  • Loading branch information
dnshko authored Sep 2, 2024
1 parent 649d3e0 commit 2b05046
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion content/1-reactivity/1-declare-state/react/Name.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ import { useState } from "react";

export default function Name() {
const [name] = useState("John");

return <h1>Hello {name}</h1>;
}

0 comments on commit 2b05046

Please sign in to comment.