* configurable trial days

* hide create sso provider in cloud
This commit is contained in:
Philipinho
2025-03-06 21:06:24 +00:00
parent d925c95fc9
commit 3b4e414c97
4 changed files with 24 additions and 14 deletions

View File

@ -0,0 +1,9 @@
import { useAtom } from "jotai";
import { currentUserAtom } from "@/features/user/atoms/current-user-atom.ts";
export const useLicense = () => {
const [currentUser] = useAtom(currentUserAtom);
return { hasLicenseKey: currentUser?.workspace?.hasLicenseKey };
};
export default useLicense;