ยฉ 2026 Hedgehog Software, LLC
createAsync
const contactsAndSocial = createAsync(() => getSocialNetworksAndContacts());
__vite_ssr_import_7__.getSocialNetworksAndContacts is not a function__vite_ssr_import_7__.getSocialNetworksAndContacts is not a function
__vite_ssr_import_7__.getSocialNetworksAndContacts is not a function
// getSocialNetworksAndContacts const getSocialNetworksAndContacts = cache( async (): Promise<SocialNetworksAndContacts> => { 'use server'; try { return client.fetch<SocialNetworksAndContacts>(getSocialNetworksAndContactsQuery); } catch { return { social: [], contacts: [], }; } }, 'social-networks-and-contacts', ); // getSocialNetworksAndContactsQuery const getSocialNetworksAndContactsQuery = ` *[_type == "settings"] [0] { "contacts": coalesce(contacts, []), "social": coalesce(social, []) } `;