diff --git a/package.json b/package.json index e674cd0..bac6306 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "next": "latest", "react": "^18.2.0", "react-dom": "^18.2.0", + "react-error-boundary": "^4.0.12", "react-markdown": "^8.0.7" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 55cf929..3d91ed2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4419,6 +4419,13 @@ react-dom@^18.2.0: loose-envify "^1.1.0" scheduler "^0.23.0" +react-error-boundary@^4.0.12: + version "4.0.12" + resolved "https://registry.yarnpkg.com/react-error-boundary/-/react-error-boundary-4.0.12.tgz#59f8f1dbc53bbbb34fc384c8db7cf4082cb63e2c" + integrity sha512-kJdxdEYlb7CPC1A0SeUY38cHpjuu6UkvzKiAmqmOFL21VRfMhOcWxTCBgLVCO0VEMh9JhFNcVaXlV4/BTpiwOA== + dependencies: + "@babel/runtime" "^7.12.5" + react-icons@*: version "4.9.0" resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.9.0.tgz#ba44f436a053393adb1bdcafbc5c158b7b70d2a3"