PATH:
home
/
bnathsfovv
/
marcopaolini.info
/
wp-content
/
plugins
/
extendify
/
src
/
Launch
/
hooks
import { getSiteProfile } from '@launch/api/DataApi'; import { useUserSelectionStore } from '@launch/state/user-selections'; import useSWRImmutable from 'swr/immutable'; export const useSiteProfile = () => { const { siteInformation, businessInformation } = useUserSelectionStore(); const { data, error } = useSWRImmutable( { key: 'site-profile', title: siteInformation?.title, description: businessInformation?.description, }, getSiteProfile, ); return { siteProfile: data, error, loading: !data && !error }; };
[-] usePreviewIframe.js
[edit]
[-] useHomeLayouts.js
[edit]
[-] useSiteStrings.js
[edit]
[-] useIsMounted.js
[edit]
[-] useSiteImages.js
[edit]
[-] useConfetti.js
[edit]
[-] useSiteProfile.js
[edit]
[-] useSiteQuestions.js
[edit]
[-] useTelemetry.js
[edit]
[-] useWarnOnLeave.js
[edit]
[-] useSiteLogo.js
[edit]
[-] useSitePlugins.js
[edit]
[+]
..
[-] useSiteStyles.js
[edit]
[-] useFetch.js
[edit]