mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Fix: add optional chaining for info widgets options
This commit is contained in:
parent
8cc6640d04
commit
c58f59c105
1 changed files with 1 additions and 1 deletions
|
@ -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 ? (
|
||||
<a
|
||||
href={options.href}
|
||||
target={options.target ?? settings.target ?? "_blank"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue