Content retrival on all pages
This commit is contained in:
@@ -5,6 +5,9 @@ const query = `*[_type == "homepage"].description[].children[].text`;
|
||||
|
||||
export const load = async () => {
|
||||
return {
|
||||
description: await getFromCMS(query)
|
||||
description: await getFromCMS(query),
|
||||
ohs: "",
|
||||
pictures: "",
|
||||
FAQs: "",
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user