From aae8da5d2e537085317d99d087681aaa526717ba Mon Sep 17 00:00:00 2001 From: Steve Zelaznik Date: Sat, 27 Sep 2025 15:48:20 -0500 Subject: [PATCH] update description in error boundaries lesson 01 to match automated tests --- exercises/09.errors/01.problem.composition/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/09.errors/01.problem.composition/index.tsx b/exercises/09.errors/01.problem.composition/index.tsx index e69721326..0b8d14aff 100644 --- a/exercises/09.errors/01.problem.composition/index.tsx +++ b/exercises/09.errors/01.problem.composition/index.tsx @@ -98,7 +98,8 @@ function App() { // 🐨 create an ErrorFallback component here that accepts FallbackProps // and renders the error.message -// The error message should be displayed in the format: "There was an error: [error message]" +// The ErrorFallback component should return a React element with role="alert" +// That element should contain text in the format: "There was an error: [error message]" // 💯 you can make it look nice if you want // 📜 https://github.com/bvaughn/react-error-boundary#errorboundary-with-fallbackcomponent-prop