mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-14 00:40:30 +00:00
homepage-plus
This commit is contained in:
parent
6292a0709c
commit
18849dbb06
16 changed files with 262 additions and 52 deletions
|
@ -21,7 +21,7 @@ export default function QuickLaunch({ servicesAndBookmarks, searchString, setSea
|
|||
const [searchSuggestions, setSearchSuggestions] = useState([]);
|
||||
|
||||
const { data: widgets } = useSWR("/api/widgets");
|
||||
const searchWidget = Object.values(widgets).find((w) => w.type === "search");
|
||||
const searchWidget = widgets && Object.values(widgets).find((w) => w.type === "search");
|
||||
|
||||
let searchProvider;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue