Update ErrorNotice and add route level errorBoundary

This commit is contained in:
Prayag Prajapati committed 2023-12-12 20:29:16 +05:30
1 parent 5799031a34
commit c5922d67c4
7 files changed
+242 -145

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ class ErrorBoundary extends React.Component {
// in ErrorBoundary (created by App)
// in div (created by App)
// in App
this.setState;
console.error(`Err in ${info} - ${error}`);
}