Release #228
@ -536,7 +536,11 @@ export const SignPage = () => {
|
|||||||
setIsLoading(true)
|
setIsLoading(true)
|
||||||
const arrayBuffer = await decrypt(selectedFile)
|
const arrayBuffer = await decrypt(selectedFile)
|
||||||
|
|
||||||
if (!arrayBuffer) return
|
if (!arrayBuffer) {
|
||||||
|
setIsLoading(false)
|
||||||
|
toast.error('Error decrypting file')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
handleDecryptedArrayBuffer(arrayBuffer)
|
handleDecryptedArrayBuffer(arrayBuffer)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user