From 5167e5ba7c4962c2be60ed9b7bb42a7ed0c3f492 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 16 Jul 2025 16:26:30 +0000 Subject: [PATCH] Add comment for ErrorFallback component rendering error message format Co-authored-by: me --- exercises/09.errors/01.problem.composition/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/exercises/09.errors/01.problem.composition/index.tsx b/exercises/09.errors/01.problem.composition/index.tsx index 350b1693c..e69721326 100644 --- a/exercises/09.errors/01.problem.composition/index.tsx +++ b/exercises/09.errors/01.problem.composition/index.tsx @@ -98,6 +98,7 @@ 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]" // 💯 you can make it look nice if you want // 📜 https://github.com/bvaughn/react-error-boundary#errorboundary-with-fallbackcomponent-prop