Dependency upgrade + lib_um_crypto_rust (#78)

Co-authored-by: 鲁树人 <[email protected]>
Co-committed-by: 鲁树人 <[email protected]>
This commit is contained in:
鲁树人 authored and 鲁树人 committed 2024-09-24 22:19:30 +00:00
1 parent c5bc436ab2
commit 58c96f264b
65 files changed
+4160 -4025

No files matched your search

+4 -3
View File
@@ -1,4 +1,4 @@
import { chakra, Box, Button, Collapse, Text, useDisclosure } from '@chakra-ui/react';
import { Box, Button, chakra, Collapse, Text, useDisclosure } from '@chakra-ui/react';
import { DecryptErrorType } from '~/decrypt-worker/util/DecryptError';
export interface FileErrorProps {
@@ -18,11 +18,12 @@ export function FileError({ error, code }: FileErrorProps) {
<Box>
<Text>
<chakra.span>
解密错误:<chakra.span color="red.700">{errorSummary}</chakra.span>
解密错误:
<chakra.span color="red.700">{errorSummary}</chakra.span>
</chakra.span>
{error && (
<Button ml="2" onClick={onToggle} type="button">
详细
诊断信息
</Button>
)}
</Text>