refactor: more consistent naming for globals

This commit is contained in:
DecDuck
2024-11-24 15:29:14 +11:00
parent ecc819eebc
commit 305de9f45a
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { fsCertificateStore } from "../internal/clients/ca-store";
let ca: CertificateAuthority | undefined;
export const useGlobalCertificateAuthority = () => {
export const useCertificateAuthority = () => {
if (!ca) throw new Error("CA not initialised");
return ca;
};