refactor: remove unused payloads from RQ
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
Reference in New Issue
Block a user