authelia/web/src/hooks/Consent.ts

7 lines
199 B
TypeScript

import { useRemoteCall } from "@hooks/RemoteCall";
import { getConsentResponse } from "@services/Consent";
export function useConsentResponse() {
return useRemoteCall(getConsentResponse, []);
}