This commit is contained in:
Philipinho
2026-03-13 23:06:19 +00:00
parent ff01355ec3
commit bf692e8b08
6 changed files with 35 additions and 13 deletions
@@ -1,5 +1,7 @@
import { atom } from "jotai";
import { atomWithStorage } from "jotai/utils";
import type { Entitlements } from "./entitlement.types";
const initialValue: Entitlements | null = null;
export const entitlementAtom = atom(initialValue);
export const entitlementAtom = atomWithStorage<Entitlements | null>(
"entitlements",
null,
);
@@ -60,7 +60,7 @@ export default function Security() {
</>
)}
{hasSecurityAccess && (
{(isCloud() || hasSecurityAccess) && (
<>
<AllowedDomains />
<Divider my="lg" />