diff --git a/src/screens/ListApp.tsx b/src/screens/ListApp.tsx index b04d9e8..4818478 100644 --- a/src/screens/ListApp.tsx +++ b/src/screens/ListApp.tsx @@ -177,6 +177,7 @@ const ListApp = (props: Props) => { { + // This explicitly creates an unhandled rejection for demonstration purposes Promise.reject(new Error('Unhandled Promise Rejection')); }}> Unhandled Promise Rejection