refactor: remove unused payloads from RQ

This commit is contained in:
Rıdvan Akca
2024-03-14 12:25:26 +03:00
parent e3e598b208
commit ba9d3afc88
9 changed files with 9 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ import api from 'helpers/api';
export default function useAppConfig(appKey) {
const query = useQuery({
queryKey: ['appConfig', appKey],
queryFn: async ({ payload, signal }) => {
queryFn: async ({ signal }) => {
const { data } = await api.get(`/v1/app-configs/${appKey}`, {
signal,
});