From c58f59c105198fd632625047fb27f0ca32951255 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 2 Dec 2024 14:38:55 -0800 Subject: [PATCH] Fix: add optional chaining for info widgets options --- src/components/widgets/widget/container.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/widgets/widget/container.jsx b/src/components/widgets/widget/container.jsx index 4a1fdd375..8675adf86 100644 --- a/src/components/widgets/widget/container.jsx +++ b/src/components/widgets/widget/container.jsx @@ -60,7 +60,7 @@ export function getBottomBlock(children) { export default function Container({ children = [], options, additionalClassNames = "" }) { const { settings } = useContext(SettingsContext); - return options.href ? ( + return options?.href ? (