Файловый менеджер - Редактировать - /home/topsuzmw/public_html/wp-content/plugins/extendify/src/Launch/hooks/useSiteProfile.js
Назад
import useSWRImmutable from 'swr/immutable'; import { getSiteProfile } from '@launch/api/DataApi'; import { useUserSelectionStore } from '@launch/state/user-selections'; 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 }; };
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка