PATH:
home
/
bkunreyz
/
ezdatarecovery.net
/
wp-content
/
plugins
/
extendify
/
src
/
Launch
/
hooks
import { getSitePlugins } from '@launch/api/DataApi'; import { useSiteProfile } from '@launch/hooks/useSiteProfile'; import { useUserSelectionStore } from '@launch/state/user-selections'; import useSWR from 'swr'; export const useSitePlugins = ({ disableFetch = false } = {}) => { const { loading, siteProfile } = useSiteProfile(); const { siteQA } = useUserSelectionStore(); const params = { key: 'site-plugins', siteProfile, siteQA, }; const { data, error } = useSWR( loading || disableFetch ? null : params, getSitePlugins, ); return { sitePlugins: data, error, loading: !data && !error }; };
[-] useConfetti.js
[edit]
[-] useHomeLayouts.js
[edit]
[-] useFetch.js
[edit]
[-] useSitePlugins.js
[edit]
[-] useTelemetry.js
[edit]
[+]
..
[-] useSiteImages.js
[edit]
[-] useSiteProfile.js
[edit]
[-] usePreviewIframe.js
[edit]
[-] useSiteStyles.js
[edit]
[-] useWarnOnLeave.js
[edit]
[-] useSiteStrings.js
[edit]
[-] useIsMounted.js
[edit]
[-] useSiteLogo.js
[edit]
[-] useSiteQuestions.js
[edit]