mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
8 lines
206 B
TypeScript
8 lines
206 B
TypeScript
import type { Instance } from "./Instance";
|
|
|
|
export const useSSOConfig = (): Ref<Instance["sso"] | null> => {
|
|
const instance = useInstance();
|
|
|
|
return computed(() => instance.value?.sso || null);
|
|
};
|