authelia/web/src/hooks/Configuration.ts

7 lines
196 B
TypeScript

import { getConfiguration } from "../services/Configuration";
import { useRemoteCall } from "./RemoteCall";
export function useConfiguration() {
return useRemoteCall(getConfiguration, []);
}