Skip to content

Commit b39f02d

Browse files
Fixes MicrosoftDocs/azure-docs#112857
Fixed the code snippet as we verified that there is an error when writing to the console.
1 parent e16179c commit b39f02d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/static-web-apps/user-information.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ async function getUserInfo() {
5959
return clientPrincipal;
6060
}
6161

62+
(async () => {
6263
console.log(await getUserInfo());
64+
})();
6365
```
6466

6567
## API functions

0 commit comments

Comments
 (0)