Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(deps): update dependency react-error-boundary to ^6.1.0 (#4884)

homarr-renovate[bot]41b02b63d9a1
diff --git a/apps/nextjs/package.json b/apps/nextjs/package.json
index 7768f9e42..b4024f61c 100644
--- a/apps/nextjs/package.json
+++ b/apps/nextjs/package.json
@@ -81,7 +81,7 @@
"prismjs": "^1.30.0",
"react": "19.2.3",
"react-dom": "19.2.3",
- "react-error-boundary": "^6.0.3",
+ "react-error-boundary": "^6.1.0",
"react-simple-code-editor": "^0.14.1",
"sass": "^1.97.2",
"superjson": "2.2.6",
diff --git a/apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx b/apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx
index 1dc7ac894..cd8b67ea2 100644
--- a/apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx
+++ b/apps/nextjs/src/app/[locale]/widgets/[kind]/_content.tsx
@@ -105,7 +105,7 @@ export const WidgetPreviewPageContent = ({ kind, integrationData }: WidgetPrevie
<ErrorBoundary
onReset={reset}
fallbackRender={({ resetErrorBoundary, error }) => (
- <WidgetError kind={kind} error={error as unknown} resetErrorBoundary={resetErrorBoundary} />
+ <WidgetError kind={kind} error={error} resetErrorBoundary={resetErrorBoundary} />
)}
>
<Comp
diff --git a/apps/nextjs/src/components/board/items/item-content.tsx b/apps/nextjs/src/components/board/items/item-content.tsx
index 35896ec5d..8f89ba091 100644
--- a/apps/nextjs/src/components/board/items/item-content.tsx
+++ b/apps/nextjs/src/components/board/items/item-content.tsx
@@ -108,7 +108,7 @@ const InnerContent = ({ item, ...dimensions }: InnerContentProps) => {
fallbackRender={({ resetErrorBoundary, error }) => (
<>
<BoardItemMenu offset={4} item={newItem} resetErrorBoundary={resetErrorBoundary} />
- <WidgetError kind={item.kind} error={error as unknown} resetErrorBoundary={resetErrorBoundary} />
+ <WidgetError kind={item.kind} error={error} resetErrorBoundary={resetErrorBoundary} />
</>
)}
>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index abbc3a868..43f9915a2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -308,8 +308,8 @@ importers:
specifier: 19.2.3
version: 19.2.3([email protected])
react-error-boundary:
- specifier: ^6.0.3
- version: 6.0.3([email protected])
+ specifier: ^6.1.0
+ version: 6.1.0([email protected])
react-simple-code-editor:
specifier: ^0.14.1
@@ -9269,8 +9269,8 @@ packages:
peerDependencies:
react: '>= 16.8 || 18.0.0'
- resolution: {integrity: sha512-5guqn2UYpCFjE8UDMA8J7Kke+YSGBFrKQRJb3XdcaGZXYINZfQXgBt3ifY6MvjkN7QROc5A8zclyoSCwrcRUKw==}
+ resolution: {integrity: sha512-02k9WQ/mUhdbXir0tC1NiMesGzRPaCsJEWU/4bcFrbY1YMZOtHShtZP6zw0SJrBWA/31H0KT9/FgdL8+sPKgHA==}
peerDependencies:
react: ^18.0.0 || ^19.0.0
@@ -18882,7 +18882,7 @@ snapshots:
prop-types: 15.8.1
react: 19.2.3
dependencies:
react: 19.2.3