Commit 0657ea50 authored by Max Alekseenko's avatar Max Alekseenko

rename func

parent 079b6d5c
import config from 'configs/app'; import config from 'configs/app';
import useApiQuery from 'lib/api/useApiQuery'; import useApiQuery from 'lib/api/useApiQuery';
export default function useReferrals() { export default function useRewardsConfig() {
return useApiQuery('rewards_config', { return useApiQuery('rewards_config', {
queryOptions: { queryOptions: {
enabled: config.features.rewards.isEnabled, enabled: config.features.rewards.isEnabled,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment