Файловый менеджер - Редактировать - /home/bkunreyz/ezdatarecovery.net/wp-content/plugins/extendify/src/Launch/hooks/useSiteQuestions.js
Назад
import { getSiteQuestions } from '@launch/api/DataApi'; import { useSiteProfile } from '@launch/hooks/useSiteProfile'; import useSWRImmutable from 'swr/immutable'; export const useSiteQuestions = ({ disableFetch = false } = {}) => { const { siteProfile, loading: profileLoading } = useSiteProfile(); const { data, error } = useSWRImmutable( profileLoading || !siteProfile || disableFetch ? null : { key: 'site-questions', siteProfile, }, getSiteQuestions, ); return { questions: data, error, loading: profileLoading || (!data && !error), }; };
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка