fix: remove first person we from step 23 authors workshop (#67408)

Signed-off-by: Vinod Mali <snvinod09@gmail.com>
Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com>
This commit is contained in:
Vinod Mali
2026-05-15 02:35:21 +05:30
committed by GitHub
parent 000c7b73c5
commit 9f1f77ec5e
@@ -7,7 +7,7 @@ dashedName: step-23
# --description--
Finally, what if there's an error and the author data fail to load? Then we need to show an error in the UI. That's exactly what the `.catch()` method is for handling errors.
Finally, what if there's an error and the author data fail to load? Then you need to show an error in the UI. That's exactly what the `.catch()` method is for handling errors.
Inside the `.catch()`, remove the `console.error()` and set the `innerHTML` of the `authorContainer` to a `p` element with a `class` attribute of `"error-msg"` and text `"There was an error loading the authors"`.