Skip to content

Commit c40d762

Browse files
committed
Add comment to UI extension to improve readability
1 parent c4a2747 commit c40d762

File tree

1 file changed

+1
-0
lines changed
  • ui/extensions/hello/src/pages

1 file changed

+1
-0
lines changed

ui/extensions/hello/src/pages/home.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ function Home() {
1616
const [loading, setLoading] = useState(false);
1717
const [error, setError] = useState(null);
1818

19+
// Calls the 'hello' cloud function with the user's name and displays the response
1920
const fetchGreeting = async () => {
2021
if (!name.trim()) {
2122
setError("Please enter a name first");

0 commit comments

Comments
 (0)