mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-12-04 05:46:23 +01:00
Split codebase (#455)
This commit is contained in:
1 parent
d2dc719cc6
commit
10559c8f4f
742 files changed
+7686
-3249
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { useAtomValue } from "jotai";
|
||||
import { activeWorkspaceMetaAtom } from "./useActiveWorkspace";
|
||||
|
||||
export function useIsEncryptionEnabled() {
|
||||
const workspaceMeta = useAtomValue(activeWorkspaceMetaAtom);
|
||||
return workspaceMeta?.encryptionKey != null;
|
||||
}
|
||||
Reference in new issue
Block a user