From 7c027825cdce6e36ba23b726200d36eb7aa50d70 Mon Sep 17 00:00:00 2001 From: Stixx Date: Wed, 11 Sep 2024 12:03:23 +0200 Subject: [PATCH] style: lint fix --- src/pages/sign/index.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/pages/sign/index.tsx b/src/pages/sign/index.tsx index fa11fb7..ef22eb8 100644 --- a/src/pages/sign/index.tsx +++ b/src/pages/sign/index.tsx @@ -74,11 +74,9 @@ export const SignPage = () => { * arrayBuffer will be received in navigation from create page in offline mode * meta will be received in navigation from create & home page in online mode */ - const { - meta: metaInNavState, - arrayBuffer: decryptedArrayBuffer, - uploadedZip - } = location.state || { + let metaInNavState = location.state.meta + + const { arrayBuffer: decryptedArrayBuffer, uploadedZip } = location.state || { meta: undefined, arrayBuffer: undefined, uploadedZip: undefined