Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion exercises/09.errors/01.problem.composition/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading