(feat): crypto migrations
This commit is contained in:
parent
930663d495
commit
cd2c2f8167
17 changed files with 839 additions and 825 deletions
|
|
@ -17,13 +17,12 @@ import { useMTP } from "@tensamin/mtp";
|
|||
import { log, toast } from "@tensamin/shared/log";
|
||||
import { Loader2 } from "lucide-react";
|
||||
import { isTauri } from "@tauri-apps/api/core";
|
||||
import { decryptText } from "@tensamin/crypto/worker";
|
||||
|
||||
export default function Wrapper({ children }: { children: ReactNode }) {
|
||||
const { get } = useUser();
|
||||
const { load } = useStorage();
|
||||
const { send } = useMTP();
|
||||
const { getSharedSecret } = useCrypto();
|
||||
const { decryptText, getSharedSecret } = useCrypto();
|
||||
const { searchStr } = useLocation();
|
||||
const navigate = useNavigate();
|
||||
const [dialogOpen, setDialogOpen] = useState(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue