MCPcopy Index your code
hub / github.com/screego/server / UseConfig

Interface UseConfig

ui/src/useConfig.ts:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import {urlWithSlash} from './url';
5
6export interface UseConfig extends UIConfig {
7 login: (username: string, password: string) => Promise<void>;
8 refetch: () => void;
9 logout: () => Promise<void>;
10 loading: boolean;
11}
12
13export const useConfig = (): UseConfig => {
14 const {enqueueSnackbar} = useSnackbar();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected