We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cb67bd commit cdcfca5Copy full SHA for cdcfca5
exercises/09.errors/01.problem.composition/index.tsx
@@ -98,7 +98,8 @@ function App() {
98
99
// 🐨 create an ErrorFallback component here that accepts FallbackProps
100
// and renders the error.message
101
-// 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"
102
+// That element should contain text in the format: "There was an error: [error message]"
103
// 💯 you can make it look nice if you want
104
// 📜 https://github.com/bvaughn/react-error-boundary#errorboundary-with-fallbackcomponent-prop
105
0 commit comments